# Secret Keys with As3Crypto

**URL:** <https://forum.kirupa.com/t/secret-keys-with-as3crypto/288378>\
**Category:** flash\
**Created:** [May 14, 2009, 10:08pm UTC](https://forum.kirupa.com/t/secret-keys-with-as3crypto/288378 "2009-05-14T22:08:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MDiddy](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@MDiddy](https://forum.kirupa.com/u/MDiddy)\
**Post date:** [May 14, 2009, 10:08pm UTC](https://forum.kirupa.com/t/secret-keys-with-as3crypto/288378/1 "2009-05-14T22:08:24Z")

</div>

Looking for some help with the AS3Crypto lib…I have a secret key that was sent to me as a file so I can encrypt some xml data using Blowfish. How do I access the key so that I can use it with AS3Crypto? I assume I need to Embed it using the [Embed] meta tag. It’s mimeType=“application/octet-stream” but I’m not sure if thats right. How do I embed, then reference this file as the secret key?  
As a bonus, if anyone has experience using the lib to work with the Java implementation and knows the ideal mode/padding/IV to use that would be awesome. Thanks!

Thanks!
