crypt.sign

Documentation of Synapse Z crypt.sign library

crypt.sign.keygen

(string, string) crypt.sign.keygen()

generates libsodioum cryptography sign public and secret key

crypt.sign.encrypt

string crypt.sign.create(data: string, secret_key: string)

signs the data using libsodium sign with the secret key

crypt.sign.decrypt

string crypt.sign.open(data: string, public_key; string)

verifies the data using public key and returns it