theturtle32 / AS3WebSocket

ActionScript 3 WebSocket client implementation for the final WebSocket Draft RFC6455
Apache License 2.0
247 stars 97 forks source link

Use hurlant SHA1 instead of adobe, since the latter uses flex libraries. #18

Closed bmezhibovskiy closed 10 years ago

bmezhibovskiy commented 10 years ago

When running this code in pure Flash, a runtime failure occurs because com.adobe.crypto.SHA1 uses some library that's only available in Flex. Since the project already includes hurlant, which has a SHA1, I use that instead. Thanks to elct9620 for his idea in https://github.com/Worlize/AS3WebSocket/issues/15

theturtle32 commented 10 years ago

Good Catch!