Something went wrong. Try again.
An implementation of AES in java. This is for a university project
Something went wrong. Try again.
1234567891011121314//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.void main() { //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text // to see how IntelliJ IDEA suggests fixing it. IO.println(String.format("Hello and welcome!"));
AES aes = new AES<>(128);
int[] bits = aes.stringToBits("Hello"); // Convertit "Hello" en bits String message = aes.bitsToString(bits); // Reconvertit les bits en "Hello" System.out.println(message); // Affiche "Hello"}