separate constants for SHA-384, SHA-512, convert some methods from static to class