Sign Up

Sign In

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Sorry, you do not have a permission to ask a question, You must login to ask question.

Discy Latest Questions

  • 9
  • 9

#!/usr/bin/env python3 import binascii var=binascii.a2b_qp("hello") key=binascii.a2b_qp("supersecretkey")[:len(var)] print(binascii.b2a_qp(var)) print(binascii.b2a_qp(key)) #here i want to do an XOR operation on the bytes in var and key and place them in 'encryption': encryption=var XOR key print(binascii.b2a_qp(encrypted)) If someone could enlighten me on how I could accomplish ...

close