0

I want to generate byte code in ColdFusion 18 but not able to generate. Binary data can be generate in multiple ways.

In PHP when we use this function random_bytes(32), We get output like

�]�[AH��2H�˖�b��|m���j )��ʻ��

rrk
  • 15,677
  • 4
  • 29
  • 45
Arun
  • 215
  • 3
  • 11
  • 1
    Are you looking for something like this? https://www.bennadel.com/blog/2976-trying-to-generate-cryptographically-strong-random-tokens-in-coldfusion.htm – rrk Jun 17 '22 at 14:30
  • Maybe look at the implementation of https://github.com/paragonie/random_compat ? It's a polyfill for the inbuild `random_bytes` function. – Adam Cameron Jun 28 '22 at 11:15

0 Answers0