Customise Restrictions passcode on iphone
Very much doubt Apple would allow any app to access that API.
The restrictions passcode is so hard you need to wipe the phone &amp; start over if you forget it.

If you really don't want to know what the code is, get someone else to set one &amp; not tell you what it is. You then have the opportunity of changing your mind later, assuming they remember it.