This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.crypto.Cipher; | |
import javax.crypto.spec.SecretKeySpec; | |
public class EncryptSample { | |
private static final String KEY = "AB1C11111111111AAAAAAADDDDD11111"; | |
private static final int PIN_LENGTH = 6; | |
public static void main(String[] args) throws Exception { | |