Do we have any algorithm or in-built library to convert SecretKeySpec into javascript so that I can get the secret ket from byte array by using AES algorithm.
I have this code in JAVA :
SecretKeySpec secretKeySpec = new SecretKeySpec(secretKey.getBytes(), ALGORITHM);
So, is it possible to get the secret key in javascript from byte array and get the same output?