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

Hurlant crypto library ported to haxe: tls, md2, md5, sha1, sha224, sha256, xtea, hex, base64, hmac, tlsprf, blowfish, des, tripledes, aes, cfb8, cfb, ctr, ofb, ecb, bigint, big integers, rsa, pem, ro...

Results 7 haxe-crypto issues
Sort by recently updated
recently updated
newest added

Fix RSA BigInteger and Int32, It's Class error.

Ive been trying to read a private key from a pem and kept getting back null, looking into it a little, i noticed that the header format ``` -----BEGIN PRIVATE...

test needed

Hello, I am trying to use the AES encryption. Sadly I can only get very small strings encrypted. For example "life is easy" works fine. But "life is the nicest...

in encrypt method we need to encrypt all blocks, so: public function encrypt(block:ByteArray, index:Int32 = 0):Void { var count:Int = block.length >>> 3; var i:Int = 0; for (i in...

test needed

Hello! I wrote this code: ``` import com.hurlant.util.ByteArray; import com.hurlant.util.der.PEM; class Main { public static function main() { var key = PEM.readRSAPrivateKey(""); var src = ByteArray.fromInt32ArrayLE([10, 20, 30, 40]); var...

As far as I can see, the IVMode class (https://github.com/soywiz/haxe-crypto/blob/master/src/com/hurlant/crypto/symmetric/mode/IVMode.hx) uses a PRNG (which is seeded from the system clock) to generate the initialization vector. I recommend you guys to...

https://en.wikipedia.org/wiki/Cipher_suite