A secure file encryption tools that use MAC Address as encryption key

A secure file encryption tools that use MAC Address as encryption key

I don't know any ciphers which use the mac address as the key, but there are those who create a key from the mac accress using a hexdigest method, likethis:

mac =  "48:e9:f1:dc:76:9b"
key = Digest::SHA1.hexdigest(mac)

Examples:

### SHA1
irb(main):007:0> key = Digest::SHA1.hexdigest("48:e9:f1:dc:76:9b")
=> "065f7ea8a3403b68e5902b2255ef51805c1c809c"

### SHA256
irb(main):008:0> key = Digest::SHA256.hexdigest("48:e9:f1:dc:76:9b")
=> "50dcde239512eb014afe42a1c13a7381ce7de4c356bf49ecfc7603ba6a835bb4"

This method using a hexdigest of a mac addr as a key (instead of a mac addr) is more secure because the key length is longer, much longer.

HTH

"48:e9:f1:dc:76:9b".length
=> 17

"065f7ea8a3403b68e5902b2255ef51805c1c809c".length
=> 40

 "50dcde239512eb014afe42a1c13a7381ce7de4c356bf49ecfc7603ba6a835bb4".length
=> 64

wow, thanks . That was insightful . but how can i go about it

The real question is this;
There is a file on a windows system, inside the file, there is an executable program. The aim is to provide an authentication mechanism for that program in the sense that if anyone clicks on the file or program it will request for some kind of authentication details such as the mac address

Sorry, this is not a windows forum.

Sorry even more. i cannot help on windows.