Skip to content

v1.2.0

Latest

Choose a tag to compare

@awidesky awidesky released this 16 Dec 07:03
· 16 commits to master since this release

JCipherUtil v1.2.0

<dependency>
    <groupId>io.github.awidesky</groupId>
    <artifactId>JCipherUtil</artifactId>
    <version>1.2.0</version>
</dependency>
  • ebf370f (tag: v1.2.0) change version number
  • bc9641f add tiny buffersize test and use optional for coverage
  • 1eddf64 add cipherEncryptEngine/cipherDecryptEngine methods
  • c249321 overall change for better test coverage
  • 943c144 add NotSupposedToThrownException
  • 8c2db1a better coverage + throw InvalidKeyException when wrong key is used
  • ada4324 import fix
  • 0d2ce3f fix wrong throws declaration
  • e3bd13c add exception test
  • 2ef7619 add test for key stretching
  • afb18dc use FileOutputStream instead of BufferedOutputStream
  • bae6f15 remove useless String field in Curve enums
  • be39c47 show name of the curve in toString
  • eee128f use SHA-512/256 instead of SHA-512 for better readability
  • 65172e9 hash options other than SHA3-512 can be selected by user
  • 5b8abb1 put one-time hash methods in Hashes
  • bbcf915 use SHA3-512 hashing for key generating
  • 7f13df0 fix typo
  • 6732aae add SHA-512 hash algorithm
  • 60341c1 change hash classes to enum
  • 58a9658 add Hash subclasses
  • 3faf490 add from/to methods that get Path object
  • cda97ef add test cases for better coverage
  • 4ee89dc delete useless methods
  • 16478e6 fix CipherMode bug
  • 6a8ba45 don't clone the iv, just re-invert it
  • b948d64 change package structure of CipherEngine
  • c84a971 change CipherTunnel to use CipherEngine
  • d0e63be use CipherEngine in CipherUtill.encrypt/decrypt methods
  • a1c4ad7 Merge branch 'test' into engine, since test branch is not needed
  • de80740 Merge branch 'engine' into test
  • 974ab29 merge new init methods to test
  • 36b4693 getting rid of Optional and ByteArrayOutputStream
  • 2558a6d add code for test
  • 60608eb set cipherGenerator null after initialization
  • 4b13d6b fix decrypt engine
  • ccdc5d7 fixing decrypt engine
  • ed8cbe4 add new init methods for all ciphers
  • 01cc715 changing init methods for engine
  • d2fcdfb getting rid of Optional and ByteArrayOutputStream
  • 2654856 CipherMode as a separate enum class
  • 9662d9d change some method to static as those are not instance-bounded
  • 1de5028 Merge branch 'utilFix' into dev
  • 9d38bda delete updatables
  • 5e59b59 fix javadoc
  • dd042a6 add javadoc comment
  • 9030e16 better coverage and test for new utils
  • 0735be8 fix OutputStream
  • 0033d37 add closed check
  • 5897610 squash iostream fix attempts
  • 430b76e fixing In/OutputStream in progress
  • 0c35a9e add cipherEngine candidates(function version is 0.2% faster)
  • 3fe91ac both-way Utility classes in progress - problem detected
  • f640a5e rename the Updatable classes
  • 557857e hash structure stub
  • 2d76449 update builder to receive counter length in constructor
  • 70322d6 remove duplicate method closeResource()
  • b23ca2d better test coverage & add various test methods
  • bd63cfd add closed / finished field in encrypter and decrypter
  • 0379304 fix UpdatableEncrypter.close() and builder class refactoring
  • 6559b32 add missing comment
  • 971c782 Merge branch 'dev-IOStream' into dev
  • 671aeb2 merge IOStream test cases
  • dac9bad add CipherUtilInputStream and CipherUtilOutputStream
  • b920817 add key destroy methods
  • 3df4e37 delete meaningless TODO comment
  • cb0c442 bugfix - return empty array when cipher output was null.
  • adbb398 remove unnecessarily closeResource() method
  • 6907ffa catch IllegalStateException
  • f081386 rename KeySize.size to KeySize.value
  • 0ec6f64 delete finished todo
  • ef7d36e make sure result is longer than requested key size
  • 25649cd change iteration count range from array to ints to prevent modifying
  • ad0b6bb add underscore in long number for Readability