Crypto class abstract
Constructors
- Crypto()
Properties
- context ↔ BuildContext
- 
  The context in which the service attached
  latefinalinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- initialized ↔ bool
- 
  Service is initialized
  getter/setter pairinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  calculateSha1Mac(List< int> plain) → FutureOr<List< int> >
- 
  calculateSha256Mac(List< int> plain) → FutureOr<List< int> >
- 
  decrypt(String cipher, Uint8List clientNonce, Uint8List serverNonce) → FutureOr< String> 
- 
  encrypt(String plain, Uint8List clientNonce, Uint8List serverNonce) → FutureOr< String> 
- 
  ensureInitialize() → Future< bool> 
- 
  Wait service is initialized.
  inherited
- 
  init() → FutureOr< bool> 
- 
  Init Service
  inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  passwordHash(String clearText) → FutureOr< String> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Methods
- 
  of(BuildContext context) → Crypto