NativeCryptoBindings class

Bindings for src/native_crypto.h.

Regenerate bindings with dart run ffigen --config ffigen.yaml.

Constructors

NativeCryptoBindings.new(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
NativeCryptoBindings.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

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

Methods

encryptClose(Pointer<Void> encrypt, Pointer<Uint8> inBuf, int inBufLen, Pointer<Size> pOutBufLen) Pointer<Uint8>
encryptInit(int mode, int isEncrypt, Pointer<Uint8> key, int keySize, Pointer<Uint8> iv) Pointer<Void>
AES
encryptProcess(Pointer<Void> encrypt, Pointer<Uint8> inBuf, int inBufLen, Pointer<Size> pOutBufLen) Pointer<Uint8>
hashClose(int hashOp, Pointer<Void> hash, Pointer<Size> pOutBufLen) Pointer<Uint8>
hashInit(int hashOp) Pointer<Void>
MD5 & SHA
hashProcess(int hashOp, Pointer<Void> hash, Pointer<Uint8> inBuf, int inBufLen) → void
hmacClose(int hmacOp, Pointer<Void> hmac, Pointer<Size> pOutBufLen) Pointer<Uint8>
hmacInit(int hmacOp, Pointer<Uint8> key, int keyLen) Pointer<Void>
HMAC
hmacProcess(Pointer<Void> hmac, Pointer<Uint8> inBuf, int inBufLen) → void
nativeFree(Pointer<Void> p) → void
dart run ffigen --config ffigen.yaml
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