String hmacSha256Key = Encoders.BASE64.encode(RandomStringUtils.randomAlphabetic(256).getBytes(StandardCharsets.UTF_8)); System.out.println(hmacSha256Key);