Encrypted notes, kanban boards, and similar tasks with AI support
Client-side encryption. With our service, you can flexibly configure and manage the encryption process without relying on third-party tools.
// Пример кода на Node.js // Connect the built-in 'crypto' module const crypto = require('crypto'); // The key and IV must be protected const key = crypto.randomBytes(32); // 256 бит const iv = crypto.randomBytes(16); // 128 бит function encrypt(text) { let cipher = crypto.createCipheriv('aes-256-cbc', key, iv); let encrypted = cipher.update(text, 'utf8', 'hex'); encrypted += cipher.final('hex'); return encrypted; } function decrypt(encryptedText) { let decipher = crypto.createDecipheriv('aes-256-cbc', key, iv); let decrypted = decipher.update(encryptedText, 'hex', 'utf8'); decrypted += decipher.final('utf8'); return decrypted; }