Tests whether the key is consistent for encryption; whether encrypting and then decrypting gives to the original plaintext.
the rng to use
the key to test
the encryption padding method to use
true if consistent otherwise false
See Implementation
Tests whether the key is consistent for encryption; whether encrypting and then decrypting gives to the original plaintext.