Crypto

package
v0.0.0-...-87bc022 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AES = new(aes128)
View Source
var Base = new(b)
View Source
var Base32 = new(b32)
View Source
var Base64 = new(b64)
View Source
var Hex = new(b16)
View Source
var MC = map[string]string{"!": "-.-.--", "\"": ".-..-.", "&": ".-...", "'": ".----.", "(": "-.--.", ")": "-.--.-", "+": ".-.-.", ",": "--..--", "-": "-....-", ".": ".-.-.-", "/": "-..-.", "0": "-----", "1": ".----", "2": "..---", "3": "...--", "4": "....-", "5": ".....", "6": "-....", "7": "--...", "8": "---..", "9": "----.", ":": "---...", "=": "-...-", "?": "..--..", "@": ".--.-.", "a": ".-", "b": "-...", "c": "-.-.", "d": "-..", "e": ".", "f": "..-.", "g": "--.", "h": "....", "i": "..", "j": ".---", "k": "-.-", "l": ".-..", "m": "--", "n": "-.", "o": "---", "p": ".--.", "q": "--.-", "r": ".-.", "s": "...", "t": "-", "u": "..-", "v": "...-", "w": ".--", "x": "-..-", "y": "-.--", "z": "--.."}
View Source
var MCR = func() map[string]string {
	r := make(map[string]string)

	for i, v := range MC {
		r[v] = i
	}
	return r
}()
View Source
var Morse = new(M)
View Source
var RSA = new(r)

Functions

func MD5

func MD5(arguments ...string) string

func SHA256

func SHA256(arguments ...string) string

func SHA512

func SHA512(arguments ...string) string

Types

type M

type M struct{}

func (M) Decode

func (M) Decode(text string) string

func (M) Encode

func (M) Encode(text string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL