Kaalka Encryption is designed to work seamlessly across multiple platforms and provides a versatile encryption mechanism that incorporates the progressive value of time. By using dynamic time-based encryption, you can achieve secure communication that is inherently bound to a specific moment in time.
See the codeKaalka is a robust, time-driven encryption protocol for cross-platform security. It leverages clock angles, trigonometric functions, and time-based transformations—making every encryption unique to its timestamp. Kaalka supports envelope, seal, replay protection, chunked file encryption, and a CLI tool, all implemented natively in Python, JavaScript, Java, Kotlin, and Dart.
from kaalka import Kaalka
kaalka = Kaalka()
encrypted = kaalka.encrypt("Hello")
decrypted = kaalka.decrypt(encrypted)
# Explicit timestamp
encrypted_exp = kaalka.encrypt("Hello", time_key="12:34:56")
decrypted_exp = kaalka.decrypt(encrypted_exp, time_key="12:34:56")
Kaalka kaalka = new Kaalka();
String encrypted = kaalka.encrypt("Hello");
String decrypted = kaalka.decrypt(encrypted);
// Explicit timestamp
String encryptedExp = kaalka.encrypt("Hello", "12:34:56");
String decryptedExp = kaalka.decrypt(encryptedExp, "12:34:56");
val kaalka = Kaalka()
val encrypted = kaalka.encrypt("Hello")
val decrypted = kaalka.decrypt(encrypted)
// Explicit timestamp
val encryptedExp = kaalka.encrypt("Hello", "12:34:56")
val decryptedExp = kaalka.decrypt(encryptedExp, "12:34:56")
final kaalka = Kaalka();
final encrypted = kaalka.encrypt('Hello');
final decrypted = kaalka.decrypt(encrypted);
// Explicit timestamp
final encryptedExp = kaalka.encrypt('Hello', timeKey: '12:34:56');
final decryptedExp = kaalka.decrypt(encryptedExp, timeKey: '12:34:56');
const Kaalka = require('kaalka');
const kaalka = new Kaalka();
const encrypted = kaalka.encrypt("Hello");
const decrypted = kaalka.decrypt(encrypted);
// Explicit timestamp
const encryptedExp = kaalka.encrypt("Hello", "12:34:56");
const decryptedExp = kaalka.decrypt(encryptedExp, "12:34:56");
encrypt --in <inputFile> --out <outputFile> --sender <id> --receiver <id> --timestamp <time>decrypt --in <inputFile> --out <outputFile> --receiver <id> --timestamp <time>envelope --text "message" --sender <id> --receiver <id> --timestamp <time>encryptEnvelope(plaintext, senderId, receiverId, timestamp?)decryptEnvelope(envelope, receiverId, timestamp?)encryptFileChunks(fileBytes, senderId, receiverId, timestamp?)decryptFileChunks(chunks, receiverId, timestamp?)CHANGELOG.mdContributions, bug reports, and feature requests are welcome.
Submit issues or pull requests via GitHub.
Developed and maintained by Piyush Mishra.
Thanks to contributors across all supported language implementations.
JavaScript
53.9%
HTML
23.3%
CSS
22.8%
Kaalka Encryption is designed to work seamlessly across multiple platforms and provides a versatile encryption mechanism that incorporates the progressive value of time. By using dynamic time-based encryption, you can achieve secure communication that is inherently bound to a specific moment in time.
See the codeKaalka is a robust, time-driven encryption protocol for cross-platform security. It leverages clock angles, trigonometric functions, and time-based transformations—making every encryption unique to its timestamp. Kaalka supports envelope, seal, replay protection, chunked file encryption, and a CLI tool, all implemented natively in Python, JavaScript, Java, Kotlin, and Dart.
from kaalka import Kaalka
kaalka = Kaalka()
encrypted = kaalka.encrypt("Hello")
decrypted = kaalka.decrypt(encrypted)
# Explicit timestamp
encrypted_exp = kaalka.encrypt("Hello", time_key="12:34:56")
decrypted_exp = kaalka.decrypt(encrypted_exp, time_key="12:34:56")
Kaalka kaalka = new Kaalka();
String encrypted = kaalka.encrypt("Hello");
String decrypted = kaalka.decrypt(encrypted);
// Explicit timestamp
String encryptedExp = kaalka.encrypt("Hello", "12:34:56");
String decryptedExp = kaalka.decrypt(encryptedExp, "12:34:56");
val kaalka = Kaalka()
val encrypted = kaalka.encrypt("Hello")
val decrypted = kaalka.decrypt(encrypted)
// Explicit timestamp
val encryptedExp = kaalka.encrypt("Hello", "12:34:56")
val decryptedExp = kaalka.decrypt(encryptedExp, "12:34:56")
final kaalka = Kaalka();
final encrypted = kaalka.encrypt('Hello');
final decrypted = kaalka.decrypt(encrypted);
// Explicit timestamp
final encryptedExp = kaalka.encrypt('Hello', timeKey: '12:34:56');
final decryptedExp = kaalka.decrypt(encryptedExp, timeKey: '12:34:56');
const Kaalka = require('kaalka');
const kaalka = new Kaalka();
const encrypted = kaalka.encrypt("Hello");
const decrypted = kaalka.decrypt(encrypted);
// Explicit timestamp
const encryptedExp = kaalka.encrypt("Hello", "12:34:56");
const decryptedExp = kaalka.decrypt(encryptedExp, "12:34:56");
encrypt --in <inputFile> --out <outputFile> --sender <id> --receiver <id> --timestamp <time>decrypt --in <inputFile> --out <outputFile> --receiver <id> --timestamp <time>envelope --text "message" --sender <id> --receiver <id> --timestamp <time>encryptEnvelope(plaintext, senderId, receiverId, timestamp?)decryptEnvelope(envelope, receiverId, timestamp?)encryptFileChunks(fileBytes, senderId, receiverId, timestamp?)decryptFileChunks(chunks, receiverId, timestamp?)CHANGELOG.mdContributions, bug reports, and feature requests are welcome.
Submit issues or pull requests via GitHub.
Developed and maintained by Piyush Mishra.
Thanks to contributors across all supported language implementations.
JavaScript
53.9%
HTML
23.3%
CSS
22.8%