What's new
Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Welcome to My Sharing Site

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Help Calculate SN, DEVICE ID 1, DEVICE ID 2 and signature from Mac address

I Need Your Help
Help Calculate SN, DEVICE ID 1, DEVICE ID 2 and signature from Mac address
S Offline

smtv1878

New member

Member
Hi,

Can anyone help me understand how the fields are calculated ?

I have got the serial figured out and even device id 1 but not sure how id 2 and signature are calculated.
Any help would be appreciated.
TIA
-----------------------------
import hashlib

mac="00:1A:79:64:48:AE"
mac=mac.upper()
SN=(hashlib.md5(mac.encode('utf-8')).hexdigest())
SNENC=SN.upper()
SNCUT=SNENC[:13]
DEV=hashlib.sha256(mac.encode('utf-8')).hexdigest()
DEVENC=DEV.upper()
SG=SNCUT+'+'+(mac)
DEV2=(hashlib.sha256(SG.encode('utf-8')).hexdigest())
DEV2ENC=DEV2.upper()

print("SNENC:",SNENC)
print("SNCUT:",SNCUT)
print("Device ID1:",DEVENC)
print("Device ID2:",DEV2ENC)
-----------------------------
 
Relate Threads

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top Posters of the Month

Online statistics

Members online
61
Guests online
260
Total visitors
321
Top