English version below. いろいろな暗号アルゴリズムを実装したライブラリです。詳しい使い方は中を見てください。 ※ 推奨 → https://turbowarp.org/883071197 ※ 実装の正確性や安全性については保証できません。 サポートしている暗号方式: ◆ 公開鍵暗号: 楕円曲線暗号 ・ECDH - X448, X25519 ・EdDSA - Ed448, Ed25519 格子暗号 ・NTRU ◆ 共通鍵暗号 (認証付き暗号) ・AES-GCM 128/192/256 ・ChaCha20-Poly1305 ◆ ハッシュ関数 ・SHA256 / 384 / 512 ・SHA3-256 / 384 / 512 ・SHAKE128 / 256 ・Keccak256 / 384 /512 ・HMAC-SHA256 / 384 / 512 ◆ パスワードハッシュ関数 ・bcrypt ・PBKDF2 This project is a cryptographic algorithm library implementation in Scratch. See inside for more information. *I'm not expert, so I cannot guarantee its accuracy or security. Supporting: ◆ Public key cryptography: Elliptic curve ・ECDH - X448, X25519 ・EdDSA - Ed448, Ed25519 Lattice ・NTRU ◆ Symmetric key cryptography (AEAD) ・AES-GCM 128/192/256 ・ChaCha20-Poly1305 ◆ Hash functions ・SHA256 / 384 / 512 ・SHA3-256 / 384 / 512 ・SHAKE128 / 256 ・Keccak256 / 384 /512 ・HMAC-SHA256 / 384 / 512 ◆ Password hash functions ・bcrypt ・PBKDF2 #cryptography #encryption #decryption #cipher #hash #library
Reference Curve25519, Curve448: RFC 7748, RFC 8032 NTRU: Jeffrey Hoffstein, Jill Pipher, Joseph H. Silverman, NTRU: A Ring-Based Public Key Cryptosystem ChaCha20: RFC 7539 AES: https://csrc.nist.rip/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf Keccak : https://keccak.team/keccak_specs_summary.html SHA2: FIPS180-2 PBKDF2: RFC 8018 bcrypt: https://ja.wikipedia.org/wiki/Bcrypt Entropy Harvesting Test