rust-crypto icon indicating copy to clipboard operation
rust-crypto copied to clipboard

A (mostly) pure-Rust implementation of various cryptographic algorithms.

Results 103 rust-crypto issues
Sort by recently updated
recently updated
newest added

Hi! So this crate in wonderful and helped a lot some time ago. Said that, newest commit in this project dates from 5 years ago. Sometimes, when searching things like...

The crate has been deprecated for quite a while now. Time to move on. :)

Now that [rustc-serialize has been marked as deprecated](https://users.rust-lang.org/t/deprecation-of-rustc-serialize/10485?u=dtolnay), it seems prudent to drop it's usage and replace the functionality with other crates. Within this project, it was only used for...

rust-crypto = "0.2.36" key = vkWlFRxheBecchrd; input text = {\"datas\":{\"email\":null,\"phone\":null,\"nickName\":null,\"lastIp\":null,\"userStatus\":null},\"status\":-1,\"msg\":\"Login Failed\"} main code below: let mut encrypter = aes::ecb_encryptor(aes::KeySize::KeySize128, key, PkcsPadding); let json_to_string = {input text below}; let mut result...

error: failed to run custom build command for rust-crypto v0.2.36 Caused by: process didn't exit successfully: /Users/denghui/dev_codes/parity-bitcoin/target/debug/build/rust-crypto-3ba811552027839f/build-script-build (signal: 11, SIGSEGV: invalid memory reference) --- stderr thread '' panicked at 'attempted...

https://github.com/DaGenix/rust-crypto/blob/cc1a5fde1ce957bd1a8a2e30169443cdb4780111/src/digest.rs#L77 Sorry if it is too nit-picky, I just used the rust-analyzer "Go to Definition" and noticed.

Is there any reason for aes::cbc_encryptor (& co) to return a Box ? The CbcEncryptor it returns is Send and the function requires a PaddingProcessor+Send.

Can I add optional dependencies to I can remove libc dependencies and other things? Will this be welcome? I'm trying to determinate which algorithms use libc. Looks like it's used...