1

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

greg-449
  • 109,219
  • 232
  • 102
  • 145
  • 1
    Possible duplicate of [Convert hex to binary](https://stackoverflow.com/questions/1425493/convert-hex-to-binary) – an4s Apr 28 '19 at 01:55

1 Answers1

0

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

Bugbeeb
  • 2,021
  • 1
  • 9
  • 26