You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
243 B

package crypto
import (
"fmt"
"testing"
)
func TestCrypto_Base64Decode(t *testing.T) {
fmt.Println(cryptoTool.Base64Encode("hello world!"))
//aGVsbG8gd29ybGQh
fmt.Println(cryptoTool.Base64Decode("aGVsbG8gd29ybGQh!"))
//hello world!
}