Class RatchetSessionTag


  • public class RatchetSessionTag
    extends Object
    8 bytes, usually of random data. Does not extend SessionTag or DataStructure to save space
    Since:
    0.9.44
    • Constructor Detail

      • RatchetSessionTag

        public RatchetSessionTag​(long val)
      • RatchetSessionTag

        public RatchetSessionTag​(byte[] val)
    • Method Detail

      • getData

        public byte[] getData()
      • length

        public int length()
      • toBase64

        public String toBase64()
      • hashCode

        public int hashCode()
        We assume the data has enough randomness in it, so use 4 bytes for speed.
        Overrides:
        hashCode in class Object