crypto2
crypto2 copied to clipboard
The fastest cryptographic library in the galaxy
As the title.
java code ``` public static String AESEncrypt(String plainText, SecretKey key) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException { if (ObjectUtils.isEmpty(plainText)) return plainText; Cipher aesCipher = Cipher.getInstance("AES"); aesCipher.init(Cipher.ENCRYPT_MODE, key); return Base64.getEncoder().encodeToString(aesCipher.doFinal(plainText.getBytes())); }...
It can only be compiled on nighltly rustc for now,when will it be available on stable Rust?
Ref: https://stackoverflow.com/questions/55963736/switching-endianness-on-arm
``` error: range is out of bounds --> src/blockmode/gcm_siv.rs:114:28 | 21 | / macro_rules! impl_block_cipher_with_gcm_siv_mode { 22 | | ($name:tt, $cipher:tt) => { 23 | | 24 | | #[derive(Clone)]...

> The fastest cryptographic library in the galaxy Proof?