6.

SDES.java is an implementation of SDES. The constructor takes the key and initializes the key schedule. Methods are provided to encrypt and decrypt a byte, and a static method to print a byte in binary is also provided. Example use: Encrypt.java, Decrypt.java
Copy.java shows how to copy stdin to stdout using system calls; it works even for binary files and can easily be adapted to perform file encryption or decryption.
No comments:
Post a Comment
comment.........