Class OutputPrefixUtil


  • public final class OutputPrefixUtil
    extends java.lang.Object
    Convenience functions that deal with output prefix.
    • Field Detail

      • NON_EMPTY_PREFIX_SIZE

        public static final int NON_EMPTY_PREFIX_SIZE
        All non-empty prefixes must have the same size of 5 bytes.
        See Also:
        Constant Field Values
      • EMPTY_PREFIX

        public static final Bytes EMPTY_PREFIX
    • Method Detail

      • getLegacyOutputPrefix

        public static final Bytes getLegacyOutputPrefix​(int keyId)
      • getTinkOutputPrefix

        public static final Bytes getTinkOutputPrefix​(int keyId)