Questions tagged [as3crypto]

As3 Crypto is a cryptography library written in Actionscript 3 that provides several common algorithms. This version also introduces a TLS engine (TLS is commonly known as SSL.)

  • Protocols: TLS 1.0 support (partial)
  • Certificates: X.509 Certificate parsing and validation, built-in Root CAs.
  • Public Key Encryption: RSA (encrypt/decrypt, sign/verify)
  • Secret Key Encryption: AES, DES, 3DES, BlowFish, XTEA, RC4
  • Confidentiality Modes: ECB, CBC, CFB, CFB8, OFB, CTR
  • Hashing Algorithms: MD2, MD5, SHA-1, SHA-224, SHA-256
  • Paddings available: PKCS#5, PKCS#1 type 1 and 2
  • Other Useful Stuff: HMAC, Random, TLS-PRF, some ASN-1/DER parsing

https://code.google.com/p/as3crypto/

40 questions
0
votes
1 answer

Why does as3crypto say "Invalid padding value"?

What is the cause of the error "Invalid padding value" in as3crypto? Error: PKCS#5:unpad: Invalid padding value. expected [153], found [25] at com.hurlant.crypto.symmetric::PKCS5/unpad() at com.hurlant.crypto.symmetric::CTRMode/decrypt() …
aaaidan
  • 7,093
  • 8
  • 66
  • 102
0
votes
1 answer

How to encrypt / decrypt a video file using Flash AS3

How to encrypt / decrypt a video file using Flash AS3. Can someone help me with an example code? I have done a flash video player (.exe), and there are videos in a folder and those videos can be loaded and played through my flash player. But I want…
krish
  • 59
  • 5
0
votes
1 answer

Tweening issue and on labels

I'm Actually a student in Multimedia Design, and we are having a project to render within 3 weeks called interactive animation. Well I'M trying to have different effect. Glowing with easing Scaling with easing using alpha I only use the Adobe…
Arsenil98
  • 16
  • 6
0
votes
1 answer

SSL (TLS) in as3crypto

I am facing some issues around SSL (HTTPS calls) in an Adobe Air application. There is a bug on Adobe's list and its the exact same issue that I've bumped into:- https://forums.adobe.com/thread/1116924 The recommended solution (unless Adobe fixes…
Rohan
  • 871
  • 1
  • 16
  • 32
0
votes
1 answer

Flex/AIR Encryption/Decryption library (alternative to as3crypto)

Hey stackoverflow community, I was wondering if anyone knew of any built-in Flex libraries that support encryption/decryption. I see that most people recommend AS3Crypto, are there other alternatives? In particular, looking for one that supports DES…
muro
  • 97
  • 3
  • 15
0
votes
1 answer

As3Crypto (flex) with PyCrypto - how to make AES work?

I have a client in Flex and a server in Python and i'm trying to make AES work between them but for some reason it doesn't work. My server code: import sys from Crypto.Cipher import AES from binascii import hexlify, unhexlify BS = 16 pad = lambda…
Ofir
  • 1,565
  • 3
  • 23
  • 41
0
votes
1 answer

How to limit amount of items received in a dataProvider AS3

*Hello there!, I need to populate only 100 items on a dataProvider that is shown in a list component. even if the items are more than 500 or even 1000, I only want 100 items, first all the items with the camera on, and fill the rest to complete 100…
Alex
  • 25
  • 1
  • 8
0
votes
1 answer

Specified initialization vector (IV) does not match the block size for this algorithm

I am trying to decrypt some texts and getting this error. I did google a lot and read articles. There are a lot of people with the same error but I can't solve mine. Below is some code sample and you can see the IV that I am using. The IV is…
Laurence
  • 7,633
  • 21
  • 78
  • 129
0
votes
2 answers

AS3Crypto RSA Signing

I'm having some troubles matching the value returned from RSA signing a Base64 SHA1 hash in the actionscript as3crypto library with the result returned in c#. I'm passing in a Base64 hash decoded as a byte array to the sign() function provided in…
Jon
  • 4,295
  • 6
  • 47
  • 56
-1
votes
1 answer

I am Getting ArgumentError: Error #2025:

Here is my code . Please any can help me. I am very beginner . it is giving me this ERROR ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/removeChild() at…
1 2
3