@Override
        public void encrypt(byte[] buffer)
        {

            int nLen = buffer.length;
            long lTemp;
            for (int nI = 0; nI < nLen; nI +=8)
            {
                // encrypt a temporary 64bit block
                lTemp = byteArrayToLong(buffer, nI);
                lTemp = encryptBlockCBC(lTemp);
                longToByteArray(lTemp, buffer, nI);
            }
        }
encrypts a byte buffer (should be aligned to an 8 byte border) to itself
@param buffer buffer to encrypt
xmppserver/src/main/java/org/jivesoftware/util/Blowfish.java