crypto library
Underlying crypto primitives
Functions
-
openBox(
Uint8List boxData, Uint8List key) → Uint8List -
safeSign(
Cell cell, Uint8List privateKey, [String seed = _defaultSeed]) → Uint8List -
Returns a signature as Uint8List from the hash of
cell
andceed
and aprivateKey
-
safeSignVerify(
Cell cell, Uint8List signature, Uint8List publicKey, [String seed = _defaultSeed]) → bool -
Returns true if hash from
cell
andseed
confirms to thesignature
andpublicKey
, and false otherwise -
sealBox(
Uint8List data, Uint8List nonce, Uint8List key) → Uint8List -
sign(
Uint8List data, Uint8List privateKey) → Uint8List -
signVerify(
Uint8List data, Uint8List signature, Uint8List publicKey) → bool