php


What does OPENSSL_RAW_DATA do?


I'm pretty new to PHP encryption (and encryption in general) and I've been reading about using openssl_encrypt() function of PHP.
There's an option to add a flag called OPENSSL_RAW_DATA. What does this actually do and where can I see how PHP uses this in the PHP source code?
OPENSSL_RAW_DATA just tells openssl_encrypt() to return the cipherText as ... raw data. By default, it returns it Base64-encoded.
The source code is easy to find, but not really useful as it's not like the flag does anything extra ... The opposite - it tells PHP not to do the extra step of Base64 encoding.

Related Links

XSS filtering on output… is that OK?
Get array declared outside of function to every function without passing argument in php
DropDown menu help in HTML, adding values
New access token without redirect to auth log
WP-login.php is Redirecting to the wrong URL
PHP MAIL CHECKBOX $POST
Why am I getting an unexpected T_NEW error in PHP?
.htaccess passing different values for $1 on dev / production servers
Facebook redirect in application
Getting values from different keys belonging to different arrays and merging them into another array
php_imap.dll for php v 5.2.6 apache for windows
Change 'sort by' in plugin
Difference between set_time_limit() and ini_set('max_execution_time', …)
British Date Formatting in PHP
Sending mail in PHP [closed]
Image upload form not posting input value when auto submitting form

Categories

HOME
extjs
protocol-buffers
xcode8.1
systemd
loopbackjs
openlayers-3
android-emulator
google-webmaster-tools
tfs2015
iptables
azure-data-lake
facebook-android-sdk
port
azure-graph-api
driver
documentum
angular4
multi-step
dhcp
reselect
closures
susy-sass
boomi
gmp
http-authentication
spring-shell
sqlplus
amazon-sns
eclipse-emf
react-dnd
jstree
web-push
raima
onchange
react-bootstrap-table
laravel-4.2
sparkle
universal
android-collapsingtoolbar
counting
devtools
keyboard-layout
macports
gitolite
windows-store
export-to-pdf
virtual-memory
doctrine-extensions
jshint
section508
xcglogger
sony-future-lab-n
nonlinear-functions
skip-lists
line-intersection
google-news
kendo-editor
xmlbeans
p6spy
jenkins-workflow
fiber
right-to-left
facebook-ios-sdk
django-redis
gulp-uglify
astropy
calcite
knife
supercomputers
postal-code
supersocket.net
dynamics-ax-2012-r2
webproject
mutators
directorysearcher
google-hangouts
loginview
csslint
fileshare
xmi
property-injection
spring-social-linkedin
principalcontext
smips
facebook-game-groups
vlab
rautomation
stty
acceptance-testing
tridion-2011
semantic-merge
jdom
kolite
fork-join
mongrel
self-tracking-entities
rakudo
jvm-bytecode
word-automation

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App