added encryptionSeparator setter to why2-test

This commit is contained in:
Václav Šmejkal 2022-06-18 18:34:27 +02:00
parent fdd41f35a5
commit 3585563139
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -24,6 +24,9 @@ int main(void)
setKeyLength(100); setKeyLength(100);
keyBuffer = malloc(getKeyLength() + 1); keyBuffer = malloc(getKeyLength() + 1);
//SET ENCRYPTION_SEPARATOR TO '|'
setEncryptionSeparator('|');
//ENCRYPT //ENCRYPT
outputFlags encrypted = encryptText(TEST_TEXT, NULL, flags); outputFlags encrypted = encryptText(TEST_TEXT, NULL, flags);