sonatype/nexus-oss — pull request #689 by cwilper (2014-08-28 15:28:53+00:00)
Title: REVIEW: use a Cipher instance per invocation (threadsafe)

Original impl used a shared instance, modifying its state on each invocation.

NOTE: In my local testing, this reduces throughput of the EncryptedRecordIdObfuscator, increasing the average amount of time per iteration by 70%.