Why Nostr? What is Njump?
2023-05-29 08:34:05

PhilanthropicMoneyTransmitter on Nostr: ENTROPY WITH PYTHON import math def entropy(password): char_set = set(password) ...

ENTROPY WITH PYTHON

import math

def entropy(password):
char_set = set(password)
char_set_size = len(char_set)
password_size = len(password)
entropy = math.log2(char_set_size ** password_size)
return entropy

password = input("PASTE YOUR PASSWORD HERE:")
print(entropy(password))

Author Public Key
npub1h02vgqcaq3d3c9d9pfqdw36qm2rvslekfggk4rczm2aea0j7u5pqjwk3dk