All Projects → aykxt → crypto

aykxt / crypto

Licence: MIT license
🔐 Fastest crypto library for Deno written in pure Typescript. AES, Blowfish, CAST5, DES, 3DES, HMAC, HKDF, PBKDF2

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to crypto

webcrypto
A WebCrypto Polyfill for NodeJS
Stars: ✭ 111 (+177.5%)
Mutual labels:  aes, pbkdf2, hmac, des
openssl
A functions wrapping of OpenSSL library for symmetric and asymmetric encryption and decryption.
Stars: ✭ 199 (+397.5%)
Mutual labels:  aes, des, cbc, ecb
noble-hashes
Audited & minimal JS implementation of SHA2, SHA3, RIPEMD, BLAKE2/3, HMAC, HKDF, PBKDF2 & Scrypt
Stars: ✭ 213 (+432.5%)
Mutual labels:  pbkdf2, hmac, hkdf
Forge
A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
Stars: ✭ 4,204 (+10410%)
Mutual labels:  aes, pbkdf2, hmac
encryptlab
🔑 Comprehensive (and free) list of encryption and decryption in Node.js.
Stars: ✭ 80 (+100%)
Mutual labels:  aes, blowfish, 3des
crypthash-net
CryptHash.NET is a .NET multi-target library to encrypt/decrypt/hash/encode/decode strings and files, with an optional .NET Core multiplatform console utility.
Stars: ✭ 33 (-17.5%)
Mutual labels:  aes, hmac, cbc
SpinalCrypto
SpinalHDL - Cryptography libraries
Stars: ✭ 36 (-10%)
Mutual labels:  aes, hmac, des
browserify-cipher
No description or website provided.
Stars: ✭ 15 (-62.5%)
Mutual labels:  aes, des
Python-File-Encryptor
Encrypt and Decrypt files using Python (AES CBC MODE)
Stars: ✭ 51 (+27.5%)
Mutual labels:  aes, cbc
dart crypto
[Flutter] 本项目基于flutter_macos_v0.5.8-dev版本采用Dart语言开发。`DYFCryptoProvider`集成了Base64, 32/16 Bits MD5, AES, RSA等算法。(This Flutter project is developed in Dart language based on flutter_macos_v0.5.8-dev. `DYFCryptoProvider` integrates Base64, 32/16 Bits MD5, AES and RSA algorithms.)
Stars: ✭ 30 (-25%)
Mutual labels:  aes, des
Devdatatool
编码转换、摘要(hash)、加解密(MD5、SHA1、SHA256、SHA3、SM3、HMAC、DES、3DES、AES、SM4)
Stars: ✭ 446 (+1015%)
Mutual labels:  aes, hmac
Cryptoswift
CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift
Stars: ✭ 8,846 (+22015%)
Mutual labels:  aes, hmac
jscrypto
Crypto library for Node/ES6/Typescript/Browser.
Stars: ✭ 20 (-50%)
Mutual labels:  aes, des
AES
AES for microcontrollers (Arduino & Raspberry pi)
Stars: ✭ 116 (+190%)
Mutual labels:  aes, cbc
EasyEncryption
No description or website provided.
Stars: ✭ 16 (-60%)
Mutual labels:  aes, des
Jsrsasign
The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES JSON Web Signature/Token in pure JavaScript.
Stars: ✭ 2,760 (+6800%)
Mutual labels:  aes, 3des
Privy
An easy, fast lib to correctly password-protect your data
Stars: ✭ 230 (+475%)
Mutual labels:  aes, hmac
pbkdf2-hmac-sha256
sha256, hmac with sha256 and pbkdf2 with hmac-sha256 in one header file
Stars: ✭ 19 (-52.5%)
Mutual labels:  pbkdf2, hmac
CppSecurity
C++ Security Library
Stars: ✭ 24 (-40%)
Mutual labels:  aes, pbkdf2
Practical Cryptography For Developers Book
Practical Cryptography for Developers: Hashes, MAC, Key Derivation, DHKE, Symmetric and Asymmetric Ciphers, Public Key Cryptosystems, RSA, Elliptic Curves, ECC, secp256k1, ECDH, ECIES, Digital Signatures, ECDSA, EdDSA
Stars: ✭ 2,400 (+5900%)
Mutual labels:  aes, hmac

🔐 Deno Crypto

A collection of useful cryptographic algorithms written in Typescript.


🧪 This project is still in an early stage of development. Expect breaking changes.


Supported algorithms

Block ciphers

Message Authentication Code algorithms (MACs)

Key Derivation Functions (KDFs)

📝 Examples

AES-128-CBC

import { Aes } from "https://deno.land/x/crypto/aes.ts";
import { Cbc, Padding } from "https://deno.land/x/crypto/block-modes.ts";

const te = new TextEncoder();

const key = te.encode("SuperDuperSecret");
const data = te.encode("DataToBeEncrypted");
const iv = new Uint8Array(16);

// Ciphers have an internal state, you should therefore create
// separate ciphers for encryption and decryption
const cipher = new Cbc(Aes, key, iv, Padding.PKCS7);
const decipher = new Cbc(Aes, key, iv, Padding.PKCS7);

const encrypted = cipher.encrypt(data);
const decrypted = decipher.decrypt(encrypted);

🔔 Disclaimer

This repository has not yet received any formal cryptographic and security reviews. USE AT YOUR OWN RISK

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].