Is it possible to open a file in binary mode and make an array out of it then to encrypt that information. I guess I should ask how you would start something like that? Thanks
clutchkiller
3
Junior Poster
Recommended Answers
Jump to PostWell your question is not quite clear but you can always use fopen command with :
“rb” Open a binary file for reading
“wb” Create a binary file for writing
“ab” Append to a binary file
“rb+“ Open a binary file for read/write
“wb+“ Create a binary file for read/write
…
Jump to PostWell if you are using linux then you can always use the meta-characters and the od command to your requirements.Check these out <1> <2>
All 6 Replies
csurfer
422
Posting Pro
clutchkiller
3
Junior Poster
csurfer
422
Posting Pro
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
jephthah
commented:
you follow two specific and helpful comments with this? and then complain about me? LOL :P
-2
siddhant3s
1,429
Practically a Posting Shark
ArkM
1,090
Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.