Re: [OAUTH-WG] [OT] Validation of JWE spec Appendix 1

2014-05-07 Thread Sergey Beryozkin
Sorry for the noise, wanted to point out to the fact Section A.1.8 explicitly mentions Note that since the RSAES OAEP computation includes random values, the encryption results above will not be completely reproducible. I wish I read that section first :-) Thanks all, Sergey On 05/05/14

Re: [OAUTH-WG] [OT] Validation of JWE spec Appendix 1

2014-05-05 Thread Sergey Beryozkin
Hi Brian On 03/05/14 14:36, Brian Campbell wrote: Hi Sergey, This question might be more appropriate for the JOSE WG [0] list (which I've cc'd) as JWE is being developed there. Sure, I'll be asking at [0] next time... Some of the algorithms, RSAES OAEP being one of them, are probabilistic

Re: [OAUTH-WG] [OT] Validation of JWE spec Appendix 1

2014-05-03 Thread Brian Campbell
Hi Sergey, This question might be more appropriate for the JOSE WG [0] list (which I've cc'd) as JWE is being developed there. Some of the algorithms, RSAES OAEP being one of them, are probabilistic encryption schemes which incorporate some element of randomness to yield a different output even

[OAUTH-WG] [OT] Validation of JWE spec Appendix 1

2014-05-02 Thread Sergey Beryozkin
Hi, I'm starting experimenting with JWE, and the 1st thing I wanted to do was to quickly test the example at [1]. Sorry if it is something that is very obvious and off-topic, but I can't seem to validate the encryption of the content encryption key: I keep getting a different output every