967968969970971972973974975976977
byte[] hash = mOut.getDigest(); HashKey valueHash = new HashKey(hash); if (valueHash.equals(oldValueHash)) { os.destroy(); return valueHash; } int length = os.getLength(); StreamSource source = new StreamSource(os);
108109110111112113114115116117118
cOut.close(); byte []encryptedData = cipherOut.toByteArray(); cipherOut.destroy(); return encryptedData; } catch (RuntimeException e) { throw e; } catch (Exception e) {
964965966967968969970971972973974