Class Bytes

java.lang.Object
org.bouncycastle.util.Bytes

public class Bytes extends Object
Utility methods and constants for bytes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    xor(int len, byte[] x, byte[] y, byte[] z)
     
    static void
    xor(int len, byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff)
     
    static void
    xorTo(int len, byte[] x, byte[] z)
     
    static void
    xorTo(int len, byte[] x, int xOff, byte[] z, int zOff)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Bytes

      public Bytes()
  • Method Details

    • xor

      public static void xor(int len, byte[] x, byte[] y, byte[] z)
    • xor

      public static void xor(int len, byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff)
    • xorTo

      public static void xorTo(int len, byte[] x, byte[] z)
    • xorTo

      public static void xorTo(int len, byte[] x, int xOff, byte[] z, int zOff)