Closed rmeissner closed 6 years ago
I used objects since most of the implementations don't need a state and therefore I avoid that they need to be recreated each time you access them.
Any specific reason why you prefer classes (I am just curious 😄 )
:+1: thanks - great work!
I prefer classes to objects as I hate global state - and objects tend to introduce global state
Implements walleth/kethereum#44
crypto_api
module that defines interfaces for all underlying crypto functionscrypto_api_spongycastle
module that uses SpongyCastle to implement the interfaces defined in thecrypto_api
modulecrypto_api_wrapper
module that provides an implementation for each abstraction defined in thecrypto_api
. This allows us to switch over gradually and at some point the wrapper could be removed completely.javax.crypto.*
classes tocrypto_api
crypto_api_java_provider
to usejavax.crypto
providers to implement some of the interfaces