Package org.nfctools.mf

Examples of org.nfctools.mf.NxpCrc


  protected byte createCrc(byte[] madData) {
    if (isReadonly())
      throw new IllegalStateException("cannot modify readonly mad");

    NxpCrc crc = new NxpCrc();

    for (int x = 1; x < madData.length; x++) {
      crc.add(madData[x]);
    }

    return crc.getCrc();
  }
View Full Code Here

TOP

Related Classes of org.nfctools.mf.NxpCrc

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.