Class ByteUtil

java.lang.Object
kz.greetgo.security.util.ByteUtil

public class ByteUtil
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    ByteUtil()  
  • Method Summary

    Modifier and Type Method Description
    static byte[] copyToLength​(byte[] source, int length)  
    static byte[] xorBytes​(byte[] bytes1, byte[] bytes2)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • xorBytes

      public static byte[] xorBytes​(byte[] bytes1, byte[] bytes2)
    • copyToLength

      public static byte[] copyToLength​(byte[] source, int length)