Einfache_Krypto class

Cryptographic Library. API Functions.

Constructors

Einfache_Krypto()

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

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 Methods

adaptivePasswordGeneration(List<int> data) int
Generate a password capable of cyphering your data to avoid throwing errors. All numbers smaller than the generated will fail to cipher all the data
asymmetricCipher({required List<int> data, required int? publicKey, required int? modulo}) List<int>
Encrypt your data without handing a shared encryption/decryption key or generation seed, which is the basic asymetric encryption purpose.
asymmetricDecipher({required List<int> data, required int? privateKey, required int? modulo}) List<int>
Decrypt your data without handing the private key or generation seeds to decrypt it, which is the basic asymetric encryption purpose.
cipher({required List<int> data, required int password}) List<int>
Encrypts the given data using a password and security key. The bigger the security key number the safer it is but the longer it takes to compute.
decipher({required List<int> data, required int password}) List<int>
Decrypts the given data using a password and security key. The bigger the security key number the safer it is but the longer it takes to compute.