Skip to content

How are asset IDs actually calculated? #1427

Closed Answered by CST1229
snowboyz0825 asked this question in Q&A
Discussion options

You must be logged in to vote

They're the MD5 hash of the asset content (not name). If that doesn't work then you're probably doing something wrong (e.g if you're converting the content into a raw string then MD5ing that, don't, because binary data doesn't really work well in raw strings).

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@snowboyz0825
Comment options

Answer selected by snowboyz0825
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants