Web Development Knowledge Base
| |
Sections :
RSS Feed You too, please publish your useful code snippets in any programming language : write an article ! Plateforme d'envoi de gros fichiers en ligne Dépannage site web Blog infogérance Hébergement e-mail |
JavaAES 256 bits encrypter/decrypter - Java source codeHere is a class to encrypt/decrypt data using 256 bits AES encryption algorithm (aka Rijndael). Usage : String cryptKey = "aPb4x9q0H4W8rPs7"; String data = "hello world     "; aes = new AES(); a ...MD5 hash - Java source codeHere is Java class to get MD5 hash from strings. It is useful to check the integrity of data. Usage : String hash = MD5.getHash("hello world");// public static String getHash(String str) The MD5.java source cod ...DES 256 bits encrypter/decrypter - Java source codeA java class to encrypt/decrypt data using 96 bits DES algorithm. Usage : String encrypted = DesEncrypter.cryptString("hello world", "ABCDEFABCDEFABCDEFABCDEF"); String plain = DesEncrypter.decryptStr ...Base64 encoder/decoder - Java source codeEncodes and decodes to and from Base64 notation. Written by Robert Harder Main methods :    /**     * Encodes a byte array into Base64 notation.     * Does not GZip-compress data.     *     * @par ...GZIP compression in JavaHere are 2 methods to compress/uncompress gzipped strings in Java. You must add an import statement at the beginning of your file :import java.util.zip.*; import java.io.*; The java code :    public static String com ... |
Nos partenaires : iPhone 8 Cases & Protection |