Initialization Vector displaying (Binary) using CBC in Python

93 Views Asked by At

Hey is there a way to Print the (binary) version of the IV and not the Hexadecimal? I'm required to show it for class. I'm doing an encryption/decryption of plaintext using CBC mode and I have to show the IV in Binary and not hexadecimal. I'm using Python 3

1

There are 1 best solutions below

0
Bugbeeb On

if you can convert the roman numeral to an integer than just use bin(4)