All Projects → MxABC → Devdatatool

MxABC / Devdatatool

Licence: mit
编码转换、摘要(hash)、加解密(MD5、SHA1、SHA256、SHA3、SM3、HMAC、DES、3DES、AES、SM4)

Projects that are alternatives of or similar to Devdatatool

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 (-92.6%)
Mutual labels:  aes, hash, hmac
Forge
A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
Stars: ✭ 4,204 (+842.6%)
Mutual labels:  certificate, aes, hmac
WebCrypto.swift
A small collection of cryptographic functions based on the JavaScript WebCrypto API.
Stars: ✭ 16 (-96.41%)
Mutual labels:  aes, hash
noble-hashes
Audited & minimal JS implementation of SHA2, SHA3, RIPEMD, BLAKE2/3, HMAC, HKDF, PBKDF2 & Scrypt
Stars: ✭ 213 (-52.24%)
Mutual labels:  hash, hmac
webcrypto
A WebCrypto Polyfill for NodeJS
Stars: ✭ 111 (-75.11%)
Mutual labels:  aes, hmac
crypto
🔐 Fastest crypto library for Deno written in pure Typescript. AES, Blowfish, CAST5, DES, 3DES, HMAC, HKDF, PBKDF2
Stars: ✭ 40 (-91.03%)
Mutual labels:  aes, hmac
SpinalCrypto
SpinalHDL - Cryptography libraries
Stars: ✭ 36 (-91.93%)
Mutual labels:  aes, hmac
hkdf
A standalone Java 7 implementation of HMAC-based key derivation function (HKDF) defined in RFC 5869 first described by Hugo Krawczyk. HKDF follows the "extract-then-expand" paradigm which is compatible to NIST 800-56C Rev. 1 two step KDF
Stars: ✭ 47 (-89.46%)
Mutual labels:  hash, hmac
Crypto Async
Fast, reliable cipher, hash and hmac methods executed in Node's threadpool for multi-core throughput.
Stars: ✭ 161 (-63.9%)
Mutual labels:  hash, hmac
hash-wasm
Lightning fast hash functions using hand-tuned WebAssembly binaries
Stars: ✭ 382 (-14.35%)
Mutual labels:  hash, hmac
jscrypto
Crypto library for Node/ES6/Typescript/Browser.
Stars: ✭ 20 (-95.52%)
Mutual labels:  aes, hash
enigma
A fast, native, cryptographic engine for the web
Stars: ✭ 101 (-77.35%)
Mutual labels:  aes, hash
Nsec
A modern and easy-to-use cryptographic library for .NET Core based on libsodium
Stars: ✭ 217 (-51.35%)
Mutual labels:  hash, hmac
cryptocli
The ultimate tool for data transfer, manipulation and proxy.
Stars: ✭ 16 (-96.41%)
Mutual labels:  certificate, aes
Jssha
A JavaScript/TypeScript implementation of the complete Secure Hash Standard (SHA) family (SHA-1, SHA-224/256/384/512, SHA3-224/256/384/512, SHAKE128/256, cSHAKE128/256, and KMAC128/256) with HMAC.
Stars: ✭ 2,089 (+368.39%)
Mutual labels:  hash, hmac
rust-hmac-sha256
A small, self-contained SHA256 and HMAC-SHA256 implementation.
Stars: ✭ 24 (-94.62%)
Mutual labels:  hash, hmac
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 (+518.83%)
Mutual labels:  certificate, aes
Securitydriven.inferno
✅ .NET crypto done right. Professionally audited.
Stars: ✭ 501 (+12.33%)
Mutual labels:  hash, hmac
ngx http hmac secure link module
HMAC Secure Link module for NGINX.
Stars: ✭ 47 (-89.46%)
Mutual labels:  hash, hmac
EncrypC
🔑 File Encryption Application using Python.
Stars: ✭ 14 (-96.86%)
Mutual labels:  aes, hash

DevTool

实现mac端调试工具验证结果正确性,代码兼容iOS和MacOS,其中SM3,SM4使用C语言代码,补位代码和分组模式代码自行通过objective-c代码实现,加强理解。代码基本通过category形式提供。

当前完成

  1. NSString和NSData各种编码转换(UTF-8,GBK,Latin1,unicode,shiftJI)

  2. NSData转换hexString及base64String方便调试看数据

  3. NSString与NSData之间转换

  4. base64

  5. hash(MD5,SHA1,SHA256,SHA3,SM3,HMAC)

  6. 对称加解密(DES,3DES,AES,SM4) 支持分组加密模式有: ECB、CBC、PCBC、CFB、OFB、CTR 填充方式(分组不足补位)有:PKCS7、zero、ANSIX923、ISO10126、0x80等

  7. der,cer证书文件解析

截图

HASH

image

encryption and decryption

image

cer analysis

image

cocoapods安装

包含base64,数据转换,摘要算法,对称加解密

 pod 'LBXDataHandler', '~> 1.0.3'

文件说明

常用转换
  • NSData+LBXConverter.h
  • NSString+LBXConverter.h
摘要算法
  • NSData+LBXHash.h 各种摘要算法

  • NSString+LBXFileHash.h 文件摘要

base64转换
  • NSData+LBXBase64.h base64变换

  • NSString+LBXBase64.h base64反变换

编码转换、格式转换、形式转换
  • NSData+LBXConverter.h 转换成各种形式NSString,字典等

  • NSString+LBXConverter.h 各种编码转换、NSData,NSDate等

对称加解密
  • NSData+LBXCrypt.h 对称加解密封装接口
/**
 encrypt interface

 @param op encryt or decrypt
 @param alg encryt algorithm
 @param om ECB、CBC、CFB、OFB
 @param padding padding type
 @param key key
 @param iv init vector
 @param error return err info
 @return  result,fail if return nil
 */
- (NSData*)LBXCryptWithOp:(LBXOperaton)op
                algorithm:(LBXAlgorithm)alg
               optionMode:(LBXOptionMode)om
                  padding:(LBXPaddingMode)padding
                      key:(id)key
                       iv:(id)iv
                    error:(NSError**)error;
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].