TweetNaclFast class

Constructors

TweetNaclFast()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

crypto_box(Uint8List c, Uint8List m, int d, Uint8List n, Uint8List y, Uint8List x) int
crypto_box_open(Uint8List m, Uint8List c, int d, Uint8List n, Uint8List y, Uint8List x) int
crypto_onetimeauth(Uint8List out, Uint8List m, int n, Uint8List k) int
crypto_onetimeauth_verify(Uint8List h, Uint8List m, Uint8List k) int
crypto_onetimeauth_verify_len(Uint8List h, Uint8List m, int n, Uint8List k) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

jrandom Random
getter/setter pair
K List<Int64>
final

Static Methods

crypto_box_afternm(Uint8List c, Uint8List m, int d, Uint8List n, Uint8List k) int
crypto_box_beforenm(Uint8List k, Uint8List y, Uint8List x) int
crypto_box_keypair(Uint8List y, Uint8List x) int
crypto_box_open_afternm(Uint8List m, Uint8List c, int d, Uint8List n, Uint8List k) int
crypto_core_hsalsa20(Uint8List out, Uint8List input, Uint8List k, Uint8List c) int
crypto_core_salsa20(Uint8List out, Uint8List input, Uint8List k, Uint8List c) int
crypto_hash(Uint8List out, Uint8List m) int
crypto_hash_off(Uint8List out, Uint8List m, int moff, int n) int
int crypto_hash(Uint8List out, Uint8List m, long n)
crypto_hashblocks_hl(List<Int32> hh, List<Int32> hl, Uint8List m, int moff, int n) int
crypto_scalarmult(Uint8List q, Uint8List n, Uint8List p) int
crypto_scalarmult_base(Uint8List q, Uint8List n) int
crypto_secretbox(Uint8List c, Uint8List m, int d, Uint8List n, Uint8List k) int
crypto_secretbox_open(Uint8List m, Uint8List c, int d, Uint8List n, Uint8List k) int
crypto_sign(Uint8List sm, int dummy, Uint8List m, int moff, int n, Uint8List sk) int
int crypto_sign(Uint8List sm, long * smlen, Uint8List m, long n, Uint8List sk)
crypto_sign_keypair(Uint8List pk, Uint8List sk, bool seeded) int
crypto_sign_open(Uint8List m, int dummy, Uint8List sm, int smoff, int n, Uint8List pk) int
TBD 64bits of mlen int crypto_sign_open(Uint8Listm,long *mlen,Uint8Listsm,long n,Uint8Listpk)
crypto_stream(Uint8List c, int cpos, int d, Uint8List n, Uint8List k) int
crypto_stream_salsa20(Uint8List c, int cpos, int b, Uint8List n, Uint8List k) int
crypto_stream_xor(Uint8List c, int cpos, Uint8List m, int mpos, int d, Uint8List n, Uint8List k) int
crypto_verify_16(Uint8List x, Uint8List y) int
crypto_verify_32(Uint8List x, Uint8List y) int
hexDecode(String s) List<int>
hexEncodeToString(Uint8List raw) String
makeBoxNonce() Uint8List
makeSecretBoxNonce() Uint8List
randombytes(int len) Uint8List
randombytes_array(Uint8List x) Uint8List
randombytes_array_len(Uint8List x, int len) Uint8List
unpack25519(Int64List o, Uint8List n) → void