You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionurnUuidToByteArray(id){varuuidRegexp=/(urn:uuid:)?([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12})/i;varmatchResults=uuidRegexp.exec(id);varrawUuid=matchResults[2]+matchResults[3]+matchResults[4]+matchResults[5]+matchResults[6];if(!rawUuid||rawUuid.length!=32){console.error('Bad UUID format for ID :'+id);}varbyteArray=[];for(vari=0;i<16;i++){varbyteHex=rawUuid.substr(i*2,2);varbyteNumber=parseInt(byteHex,16);byteArray.push(byteNumber);}returnbyteArray;}
embeddedFontDeobfuscateAdobe()
https://github.com/readium/readium-js/blob/develop/js/epub-fetch/encryption_handler.js#L60
@matwood
The text was updated successfully, but these errors were encountered: