element-crypto@0.1.0.0 checks
0x29d6f1ff259add9ea6c8f213fda12377
SHA-1/2, HMAC, HKDF, AES-128-GCM, ChaCha20-Poly1305, X25519, P-256 ECDH, ECDSA and RSA verification. Apache-2.0. Source: https://github.com/jonasporto/element-bend-libs/tree/main/packages/element-crypto
element-crypto@0.1.0.0 by jonasporto
- Published
- 2026-11-08
- Size
- 606,606 bytes, 28 files
- License
- Apache-2.0 (LICENSE)
- Declarations
- 3 laws (3 proved), 747 defs, 24 types
Import
import element-crypto@0.1.0.0/LAWS.bend as LAWS import 0x29d6f1ff259add9ea6c8f213fda12377/LAWS.bend as LAWS import element-crypto@0.1.0.0/PROOF.bend as PROOF import 0x29d6f1ff259add9ea6c8f213fda12377/PROOF.bend as PROOF import element-crypto@0.1.0.0/aes.bend as Aes import 0x29d6f1ff259add9ea6c8f213fda12377/aes.bend as Aes import element-crypto@0.1.0.0/aes_sbox.bend as Aes_sbox import 0x29d6f1ff259add9ea6c8f213fda12377/aes_sbox.bend as Aes_sbox import element-crypto@0.1.0.0/chacha20.bend as Chacha20 import 0x29d6f1ff259add9ea6c8f213fda12377/chacha20.bend as Chacha20 import element-crypto@0.1.0.0/ecdh.bend as Ecdh import 0x29d6f1ff259add9ea6c8f213fda12377/ecdh.bend as Ecdh import element-crypto@0.1.0.0/ecdsa.bend as Ecdsa import 0x29d6f1ff259add9ea6c8f213fda12377/ecdsa.bend as Ecdsa import element-crypto@0.1.0.0/ecp256.bend as Ecp256 import 0x29d6f1ff259add9ea6c8f213fda12377/ecp256.bend as Ecp256 import element-crypto@0.1.0.0/ecp384.bend as Ecp384 import 0x29d6f1ff259add9ea6c8f213fda12377/ecp384.bend as Ecp384 import element-crypto@0.1.0.0/fe25519.bend as Fe25519 import 0x29d6f1ff259add9ea6c8f213fda12377/fe25519.bend as Fe25519 import element-crypto@0.1.0.0/fen256.bend as Fen256 import 0x29d6f1ff259add9ea6c8f213fda12377/fen256.bend as Fen256 import element-crypto@0.1.0.0/fen384.bend as Fen384 import 0x29d6f1ff259add9ea6c8f213fda12377/fen384.bend as Fen384 import element-crypto@0.1.0.0/fep256.bend as Fep256 import 0x29d6f1ff259add9ea6c8f213fda12377/fep256.bend as Fep256 import element-crypto@0.1.0.0/fep384.bend as Fep384 import 0x29d6f1ff259add9ea6c8f213fda12377/fep384.bend as Fep384 import element-crypto@0.1.0.0/gcm.bend as Gcm import 0x29d6f1ff259add9ea6c8f213fda12377/gcm.bend as Gcm import element-crypto@0.1.0.0/hash.bend as Hash import 0x29d6f1ff259add9ea6c8f213fda12377/hash.bend as Hash import element-crypto@0.1.0.0/hmac.bend as Hmac import 0x29d6f1ff259add9ea6c8f213fda12377/hmac.bend as Hmac import element-crypto@0.1.0.0/package.bend as Package import 0x29d6f1ff259add9ea6c8f213fda12377/package.bend as Package import element-crypto@0.1.0.0/poly1305.bend as Poly1305 import 0x29d6f1ff259add9ea6c8f213fda12377/poly1305.bend as Poly1305 import element-crypto@0.1.0.0/rsa.bend as Rsa import 0x29d6f1ff259add9ea6c8f213fda12377/rsa.bend as Rsa import element-crypto@0.1.0.0/sha1.bend as Sha1 import 0x29d6f1ff259add9ea6c8f213fda12377/sha1.bend as Sha1 import element-crypto@0.1.0.0/sha256.bend as Sha256 import 0x29d6f1ff259add9ea6c8f213fda12377/sha256.bend as Sha256 import element-crypto@0.1.0.0/sha512.bend as Sha512 import 0x29d6f1ff259add9ea6c8f213fda12377/sha512.bend as Sha512 import element-crypto@0.1.0.0/suite.bend as Suite import 0x29d6f1ff259add9ea6c8f213fda12377/suite.bend as Suite import element-crypto@0.1.0.0/suite_ours.bend as Suite_ours import 0x29d6f1ff259add9ea6c8f213fda12377/suite_ours.bend as Suite_ours import element-crypto@0.1.0.0/x25519.bend as X25519 import 0x29d6f1ff259add9ea6c8f213fda12377/x25519.bend as X25519
Modules
- LAWS.bend 3 declarations, 3 laws
- PROOF.bend 0 declarations
- aes.bend 21 declarations
- aes_sbox.bend 256 declarations
- chacha20.bend 24 declarations
- ecdh.bend 10 declarations
- ecdsa.bend 46 declarations
- ecp256.bend 30 declarations
- ecp384.bend 30 declarations
- fe25519.bend 24 declarations
- fen256.bend 28 declarations
- fen384.bend 28 declarations
- fep256.bend 28 declarations
- fep384.bend 28 declarations
- gcm.bend 27 declarations
- hash.bend 7 declarations
- hmac.bend 10 declarations
- package.bend 0 declarations — SHA-1/2, HMAC, HKDF, AES-128-GCM, ChaCha20-Poly1305, X25519, P-256 ECDH, ECDSA and RSA verification. Apache-2.0. Source: https://github.com/jonasporto/element-bend-libs/tree/main/packages/element-crypto
- poly1305.bend 25 declarations
- rsa.bend 20 declarations
- sha1.bend 14 declarations
- sha256.bend 33 declarations
- sha512.bend 39 declarations
- suite.bend 11 declarations
- suite_ours.bend 11 declarations
- x25519.bend 48 declarations
Other files
Dependencies
- element-math@0.1.0.0 via
ecdh.bend: import element-math@0.1.0.0/big.bend as Big
Dependents
- element-http@0.1.0.0 via
websocket.bend: import element-crypto@0.1.0.0/sha1.bend as Sha1 - element-tls13@0.1.0.0 via
client.bend: import element-crypto@0.1.0.0/suite.bend as Suite - element-x509@0.1.0.0 via
cert.bend: import element-crypto@0.1.0.0/hash.bend as Hash
Status on bend 2.0.40
| File | Status | Checker says | Time |
|---|---|---|---|
| LAWS.bend | open laws/TODOs | 3 TODOs found. Checked alone, a law without a def is a TODO; all of them are proved in files that check, so the package counts this file as checks. outputSOME PROOFS FAIL Error: 3 TODOs found. The code is incomplete, and not a valid proof yet. | 0.3 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 68.1 s |
| aes.bend | checks | ALL PROOFS CHECK | 0.4 s |
| aes_sbox.bend | checks | ALL PROOFS CHECK | 0.6 s |
| chacha20.bend | checks | ALL PROOFS CHECK | 0.4 s |
| ecdh.bend | checks | ALL PROOFS CHECK | 1.5 s |
| ecdsa.bend | checks | ALL PROOFS CHECK | 1.8 s |
| ecp256.bend | checks | ALL PROOFS CHECK | 0.6 s |
| ecp384.bend | checks | ALL PROOFS CHECK | 1.1 s |
| fe25519.bend | checks | ALL PROOFS CHECK | 0.5 s |
| fen256.bend | checks | ALL PROOFS CHECK | 0.6 s |
| fen384.bend | checks | ALL PROOFS CHECK | 1.1 s |
| fep256.bend | checks | ALL PROOFS CHECK | 0.5 s |
| fep384.bend | checks | ALL PROOFS CHECK | 0.9 s |
| gcm.bend | checks | ALL PROOFS CHECK | 0.5 s |
| hash.bend | checks | ALL PROOFS CHECK | 0.4 s |
| hmac.bend | checks | ALL PROOFS CHECK | 0.4 s |
| package.bend | checks | ALL PROOFS CHECK | 64.7 s |
| poly1305.bend | checks | ALL PROOFS CHECK | 0.4 s |
| rsa.bend | checks | ALL PROOFS CHECK | 0.4 s |
| sha1.bend | checks | ALL PROOFS CHECK | 0.4 s |
| sha256.bend | checks | ALL PROOFS CHECK | 0.4 s |
| sha512.bend | checks | ALL PROOFS CHECK | 0.4 s |
| suite.bend | checks | ALL PROOFS CHECK | 0.6 s |
| suite_ours.bend | checks | ALL PROOFS CHECK | 0.5 s |
| x25519.bend | checks | ALL PROOFS CHECK | 0.6 s |