Begin v1.15

This commit is contained in:
Evan Su 2021-08-07 17:54:27 -04:00 committed by GitHub
parent 98cf834f6d
commit 8046ef359a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@ package main
/* /*
Picocrypt v1.14 Picocrypt v1.15
Copyright (c) Evan Su (https://evansu.cc) Copyright (c) Evan Su (https://evansu.cc)
Released under a GNU GPL v3 License Released under a GNU GPL v3 License
https://github.com/HACKERALERT/Picocrypt https://github.com/HACKERALERT/Picocrypt
@ -69,7 +69,7 @@ import (
) )
var version = "v1.14" var version = "v1.15"
//go:embed NotoSans-Regular.ttf //go:embed NotoSans-Regular.ttf
var font []byte var font []byte
@ -171,6 +171,9 @@ var sha3_256_selected = false
var blake2b_selected = false var blake2b_selected = false
var blake2s_selected = false var blake2s_selected = false
// Link to a Wikipedia article on Reed-Solomon
var rsWikipedia = "https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction"
// Create the UI // Create the UI
func startUI(){ func startUI(){
giu.SingleWindow().Layout( giu.SingleWindow().Layout(
@ -388,7 +391,7 @@ func startUI(){
giu.Row( giu.Row(
giu.Checkbox("Encode with Reed-Solomon to prevent corruption (slow)",&reedsolo), giu.Checkbox("Encode with Reed-Solomon to prevent corruption (slow)",&reedsolo),
giu.Button("?").Size(24,25).OnClick(func(){ giu.Button("?").Size(24,25).OnClick(func(){
browser.OpenURL("https://bit.ly/3A2V7LR") browser.OpenURL(rsWikipedia)
}), }),
).Build() ).Build()
giu.Row( giu.Row(