Re: RFR: 8170762: Document that ISO10126Padding pads with random bytes

2022-07-05 Thread Kevin Driver
On Fri, 1 Jul 2022 23:38:51 GMT, Bradford Wetmore wrote: >> JDK-8170762 - update Javadoc to indicate ISO10126Padding pads with random >> bytes, though the spec does not require random bytes > > Just a comment, I believe both approaches are ok. The ISO 10126 spec says: > >> When padding with oc

Re: RFR: 8170762: Document that ISO10126Padding pads with random bytes

2022-07-01 Thread Bradford Wetmore
On Fri, 1 Jul 2022 19:17:34 GMT, Kevin Driver wrote: > JDK-8170762 - update Javadoc to indicate ISO10126Padding pads with random > bytes, though the spec does not require random bytes Just a comment, I believe both approaches are ok. The ISO 10126 spec says: > When padding with octets...the f

Re: RFR: 8170762: Document that ISO10126Padding pads with random bytes

2022-07-01 Thread Kevin Driver
On Fri, 1 Jul 2022 19:17:34 GMT, Kevin Driver wrote: > JDK-8170762 - update Javadoc to indicate ISO10126Padding pads with random > bytes, though the spec does not require random bytes Filed: https://bugs.openjdk.org/browse/JDK-8289602 > Approved. File another docs bug to update the doc. -

Re: RFR: 8170762: Document that ISO10126Padding pads with random bytes

2022-07-01 Thread Weijun Wang
On Fri, 1 Jul 2022 19:17:34 GMT, Kevin Driver wrote: > JDK-8170762 - update Javadoc to indicate ISO10126Padding pads with random > bytes, though the spec does not require random bytes Approved. File another docs bug to update the doc. - Marked as reviewed by weijun (Reviewer). PR