SecretBox class

Constructors

SecretBox(Uint8List _key)
SecretBox.nonce(Uint8List _key, int _nonce)

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

box(Uint8List message) → Uint8List?
box_len(Uint8List message, int moff, int mlen) → Uint8List?
box_nonce(Uint8List message, Uint8List theNonce) → Uint8List?
box_nonce_len(Uint8List message, int moff, int mlen, Uint8List theNonce) → Uint8List?
box_nonce_off(Uint8List message, int moff, Uint8List theNonce) → Uint8List?
box_off(Uint8List message, int moff) → Uint8List?
getNonce() → int
incrNonce() → int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(Uint8List box) → Uint8List?
open_len(Uint8List box, int boxoff, int boxlen) → Uint8List?
open_nonce(Uint8List box, Uint8List theNonce) → Uint8List?
open_nonce_len(Uint8List box, int boxoff, int boxlen, Uint8List theNonce) → Uint8List?
open_nonce_off(Uint8List box, int boxoff, Uint8List theNonce) → Uint8List?
open_off(Uint8List box, int boxoff) → Uint8List?
setNonce(int nonce) → void
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

boxzerobytesLength → int
final
keyLength → int
final
nonceLength → int
final
overheadLength → int
final
zerobytesLength → int
final