SHA384 hash generator

This is a free online SHA384 hash generator

Use this generator to create an SHA384 hash of a string

How does SHA384 algorithm work?

SHA384 (Secure Hash Algorithm) is a cryptographic hash function designed by the National Security Agency (NSA). SHA384 produces a 384-bit (48-byte) hash value, typically rendered as a hexadecimal number, 96 digits long.

What is SHA384 used for?

Similar to Md5, sha256, SHA512, The computed hash value may then be used to verify the integrity of copies of the original data without providing any means to derive said original data.

Can SHA384 be decrypted?

SHA384 is not encryption, it's hashing. You can't decrypt it, that's the whole point with it. You use it by hashing other data and comparing the hash codes to determine if the data is identical to the original.

SHA384 in programming languages

Will the SHA384 cryptographic hash function output be same in all programming languages?
Yes, similar to Md5, sha256, SHA384 generates the same hash code for all programming languages.


SHA384 in C#

C# how to convert string to SHA384 hash?
SHA384 Class in Microsoft documentation

byte[] data = new byte[DATA_SIZE];
byte[] result;
SHA384 shaM = new SHA384Managed();
result = shaM.ComputeHash(data);

SHA384 in PHP

PHP convert string to SHA384 hash.
hash function in Php.net

function CreateSHA384HashWithPHP($input) {
  return hash('sha384', $input, false);
}

SHA384 in Dart

Dart or Flutter convert string to SHA384 hash.
SHA384 Class in pub.dev

// import the packages
import 'package:crypto/crypto.dart';
import 'dart:convert'; // for the utf8.encode method

// then hash the string
var bytes = utf8.encode("sita.app"); // data being hashed
var digest = sha384.convert(bytes);
print("Digest as hex string: $digest");
//output: Digest as hex string: 4166fa49669a819be9f7cb5f986d1363c74b7a1b842638419e94ca46e30c969dbf83fd50bd2b76b2ec8d8596f3a964f7

SHA384 in JAVA

JAVA convert string to SHA384 hash.

import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class AppDemoSha384BySita {
  public static String encryptThisString(String input) {
    try {
      MessageDigest md = MessageDigest.getInstance("SHA-384");
      byte[] messageDigest = md.digest(input.getBytes());
      BigInteger no = new BigInteger(1, messageDigest);
      String hashtext = no.toString(16);
      while (hashtext.length() < 32) {
        hashtext = "0" + hashtext;
      }
      return hashtext;
    }
    catch(NoSuchAlgorithmException e) {
      throw new RuntimeException(e);
    }
  }
  public static void main(String args[]) throws
  NoSuchAlgorithmException {
    System.out.println("HashCode Generated by SHA-384 for: ");
    String s1 = "sita.app";
    System.out.println("\n" + s1 + " : " + encryptThisString(s1));
  }
}

SHA384 in Python

Python convert string to SHA384 hash.
Secure hashes and message digests

#Python 2.x
import hashlib
print hashlib.sha384("sita.app").hexdigest()

#Python 3.x
import hashlib
print(hashlib.sha384("sita.app".encode('utf-8')).hexdigest())

SHA384 in Nodejs

Nodejs convert string to SHA384.
Nodejs Crypto

const crypto = require('crypto')
let myString='sita.app';
//base64
let hashBase64 = crypto.createHash('sha384').update(myString).digest('base64');
//hex
let hashHex = crypto.createHash('sha384').update(myString).digest('hex');

SHA384 in Golang

Golang convert string to SHA384.
Golang SHA384
func Sum384