Encrypt and decrypt text with AES-256-GCM, keyed from a passphrase via PBKDF2 (SHA-256, 100,000 iterations). / អ៊ិនគ្រីប និងឌិគ្រីបអត្ថបទដោយ AES-256-GCM ដោយបង្កើតសោពីពាក្យសម្ងាត់តាម PBKDF2 (SHA-256, ១០០,០០០ ដង)។
Format: base64(salt ‖ IV ‖ ciphertext ‖ GCM tag). The random 16-byte salt and 12-byte IV are stored with the ciphertext so decryption works from the payload alone. / ទម្រង់៖ base64(salt ‖ IV ‖ ciphertext ‖ GCM tag)។ salt ចៃដន្យ ១៦ បៃ និង IV ១២ បៃ ត្រូវបានរក្សាទុកជាមួយ ciphertext ដើម្បីឱ្យការឌិគ្រីបដំណើរការពីទិន្នន័យតែម្នាក់ឯង។
Key derivation: PBKDF2-HMAC-SHA-256, 100,000 iterations · Cipher: AES-256-GCM with a 12-byte IV (RFC 8018 / NIST SP 800-38D). / ការបង្កើតសោ៖ PBKDF2-HMAC-SHA-256, ១០០,០០០ ដង · ក្បួន៖ AES-256-GCM ជាមួយ IV ១២ បៃ (RFC 8018 / NIST SP 800-38D)។
All computation happens locally with the Web Crypto API — nothing is sent over the network. / ការគណនាទាំងអស់ធ្វើក្នុងឧបករណ៍តាម Web Crypto API — គ្មានអ្វីត្រូវបានបញ្ជូនតាមបណ្តាញទេ។