DevKB
Web Development Knowledge Base
HOME | TOP 20 | WRITE AN ARTICLE |
Sections :



RSS RSS Feed

You too, please publish your useful code snippets in any programming language :
write an article !


Valid HTML 4.0 Transitional

Plateforme d'envoi de gros fichiers en ligne
Dépannage site web
Blog infogérance
Hébergement e-mail

Java


AES 256 bits encrypter/decrypter - Java source code

Here 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 code

Here 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 code

A 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 code

Encodes 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 Java

Here 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