Package play.libs

Class Codec

java.lang.Object
play.libs.Codec

@NullMarked @CheckReturnValue public class Codec extends Object
  • Constructor Details

    • Codec

      public Codec()
  • Method Details

    • ulid

      public static String ulid()
    • UUID

      public static String UUID()
    • encodeBASE64

      public static String encodeBASE64(String value)
    • encodeBASE64

      public static String encodeBASE64(byte[] value)
    • decodeBASE64

      public static byte[] decodeBASE64(String value)
    • hexMD5

      public static String hexMD5(String value)
    • hexSHA1

      public static String hexSHA1(String value)
    • byteToHexString

      public static String byteToHexString(byte[] bytes)
    • hexStringToByte

      public static byte[] hexStringToByte(String hexString)