Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java secretkey

// decode the base64 encoded string
byte[] decodedKey = Base64.getDecoder().decode(encodedKey);
// rebuild key using SecretKeySpec
SecretKey originalKey = new SecretKeySpec(decodedKey, 0, decodedKey.length, "AES"); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #secretkey
ADD COMMENT
Topic
Name
6+1 =