KaalkaNTP class
KaalkaNTP: Kaalka encryption using NTP or user-provided timestamp. Compatible with Python/JS implementations.
Constructors
- KaalkaNTP([dynamic timeKey])
Properties
Methods
-
decrypt(
dynamic data, {String? timeKey}) → Future -
inherited
-
encrypt(
dynamic data, {String? timeKey}) → Future< String> -
inherited
-
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
-
decryptWithNtp(
String data, {dynamic timeKey}) → Future< String> -
Decrypt
datausing NTP time or providedtimeKey. -
encryptWithNtp(
String data, {dynamic timeKey}) → Future< String> -
Encrypt
datausing NTP time or providedtimeKey. -
getNtpTime(
) → Future< List< int> > -
Get current time from NTP server (returns
h, m, s). This is a stub; for real NTP, use a Dart NTP package or implement UDP query.