@Test
void createMessageDigest_test() {

    MessageDigest s256 = MessageDigestUtil.createMessageDigest("S256");
    MessageDigest s384 = MessageDigestUtil.createMessageDigest("S384");
    MessageDigest s512 = MessageDigestUtil.createMessageDigest("S512");
    MessageDigest sha256 = MessageDigestUtil.createMessageDigest("SHA-256");
    assertAll(
            () -> assertThat(s256.getAlgorithm()).isEqualTo("SHA-256"),
            () -> assertThat(s384.getAlgorithm()).isEqualTo("SHA-384"),
            () -> assertThat(s512.getAlgorithm()).isEqualTo("SHA-512"),
            () -> assertThat(sha256.getAlgorithm()).isEqualTo("SHA-256")
    );
}