Thibstars

Hmac Sha256 key generation

Oct 24th, 2020 (edited)
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.15 KB | None | 0 0
  1. String hmacSha256Key = Encoders.BASE64.encode(RandomStringUtils.randomAlphabetic(256).getBytes(StandardCharsets.UTF_8));
  2. System.out.println(hmacSha256Key);
Add Comment
Please, Sign In to add comment