public static String encode(String secret) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException { return SecureIdentityLoginModule.encode(null, secret); }
public static void main(String[] args) throws Exception { System.out.println( "Encoded password: "******"Config_RsA+"))); System.out.println( "decoded password: "******"-4c9aff763d955675"))); }