Can ciphertext output of AES or RSA encryption be limited to the ASCII-128 character table? -
i'm doing r&d project focused on encrypting information cipher-text , printing code-128 barcode.
it understanding since code-128 barcodes can retain ascii table 128 characters. therefore, need know if cipher-text output of modern algorithms such aes or rsa can restricted ascii-128 table.
i not doing programming @ point, trying find precedence can done or has been done. if knows answer question, , better yet provide reference example, grateful.
bonus question... if restricting ciphertext ascii-128 possible, how affect encryption strength?
encode resulting cipher-text, binary, base64, ascii. able print base64-encoded cipher-text barcode.
since base64 encoding decoding doesn't change content, rather changes presentation, doesn't affect underlying cryptography strength.
if resulting data won't fit 103 (255) characters of code 128, consider using qr code instead.
Comments
Post a Comment