Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Image Encryption and Decrypting

Image Encryption and Decrypting

Scheduled Pinned Locked Moved Visual Basic
securityhelp
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sarfarazaliqureshi
    wrote on last edited by
    #1

    Hi Friends, Actually I want to Do Image Encryption and Image decryption but I really dont have so much concept for that,I have seen the Article Given by sudhakar79 but in that Article I Dont Know where did he got the Encrypted Data or how he did the Encryption.I looking for a Image Encryption and Decryption Program that must include the capability of adding Some Text in that encrypted data and then I can Decrypt That Data......I need Some Basic Details.......Can Any body Help Me Please

    L M 2 Replies Last reply
    0
    • S sarfarazaliqureshi

      Hi Friends, Actually I want to Do Image Encryption and Image decryption but I really dont have so much concept for that,I have seen the Article Given by sudhakar79 but in that Article I Dont Know where did he got the Encrypted Data or how he did the Encryption.I looking for a Image Encryption and Decryption Program that must include the capability of adding Some Text in that encrypted data and then I can Decrypt That Data......I need Some Basic Details.......Can Any body Help Me Please

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      An image is just like any other binary file. Search codeproject for file encryption articles. There are quite a few. What you are actually talking about doing is steganography.

      S 1 Reply Last reply
      0
      • S sarfarazaliqureshi

        Hi Friends, Actually I want to Do Image Encryption and Image decryption but I really dont have so much concept for that,I have seen the Article Given by sudhakar79 but in that Article I Dont Know where did he got the Encrypted Data or how he did the Encryption.I looking for a Image Encryption and Decryption Program that must include the capability of adding Some Text in that encrypted data and then I can Decrypt That Data......I need Some Basic Details.......Can Any body Help Me Please

        M Offline
        M Offline
        Member 3031069
        wrote on last edited by
        #3

        I have VB code which gave you way how to Encryption and decryption but I don't know how to upload it into forum -------------------------------------- Imports System Imports System.IO Imports System.Security Imports System.Security.Cryptography Public Class frmMain Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents TabControl1 As System.Windows.Forms.TabControl Friend WithEvents TabPage1 As System.Windows.Forms.TabPage Friend WithEvents TabPage2 As System.Windows.Forms.TabPage Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents Label7 As System.Windows.Forms.Label Friend WithEvents Label8 As System.Windows.Forms.Label Friend WithEvents txtDestinationEncrypt As System.Windows.Forms.TextBox Friend WithEvents btnEncrypt As System.Windows.Forms.Button Friend WithEvents txtConPassEncrypt As System.Windows.Forms.TextBox Friend WithEvents txtPassEncrypt As System.Windows.Forms.TextBox Friend WithEvents txtFileToEncrypt As System.Windows.Forms.TextBox Friend WithEvents pbStatus As System.Windows.Forms.ProgressBar Friend WithEvents txtDestinationDecrypt As System.Windows.Forms.TextBox Friend WithEvents btnDecrypt As System.Windows.Forms.Button Friend WithEvents txtConPassDecrypt As System.Windows.Forms.TextBox Friend WithEven

        G S 2 Replies Last reply
        0
        • M Member 3031069

          I have VB code which gave you way how to Encryption and decryption but I don't know how to upload it into forum -------------------------------------- Imports System Imports System.IO Imports System.Security Imports System.Security.Cryptography Public Class frmMain Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents TabControl1 As System.Windows.Forms.TabControl Friend WithEvents TabPage1 As System.Windows.Forms.TabPage Friend WithEvents TabPage2 As System.Windows.Forms.TabPage Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents Label7 As System.Windows.Forms.Label Friend WithEvents Label8 As System.Windows.Forms.Label Friend WithEvents txtDestinationEncrypt As System.Windows.Forms.TextBox Friend WithEvents btnEncrypt As System.Windows.Forms.Button Friend WithEvents txtConPassEncrypt As System.Windows.Forms.TextBox Friend WithEvents txtPassEncrypt As System.Windows.Forms.TextBox Friend WithEvents txtFileToEncrypt As System.Windows.Forms.TextBox Friend WithEvents pbStatus As System.Windows.Forms.ProgressBar Friend WithEvents txtDestinationDecrypt As System.Windows.Forms.TextBox Friend WithEvents btnDecrypt As System.Windows.Forms.Button Friend WithEvents txtConPassDecrypt As System.Windows.Forms.TextBox Friend WithEven

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          If you post code, you should only post the code that is relevant to the question, not the entire project. About 80% of the code you posted is auto-generated and/or UI related, so it could just have been left out. For code longer than a few lines you should use a code block, so that it doesn't lose the formatting. And go into your settings and change your signature, or at least remove the default "This will appear at the end of articles you submit to the Code Project" text. :)

          Despite everything, the person most likely to be fooling you next is yourself.

          1 Reply Last reply
          0
          • L Lost User

            An image is just like any other binary file. Search codeproject for file encryption articles. There are quite a few. What you are actually talking about doing is steganography.

            S Offline
            S Offline
            sarfarazaliqureshi
            wrote on last edited by
            #5

            Yes Dear Exactly I am talking about steganography where I have to Hide my Text Data behind an Image..........So dear Can you plz Help Me in This Context.......

            1 Reply Last reply
            0
            • M Member 3031069

              I have VB code which gave you way how to Encryption and decryption but I don't know how to upload it into forum -------------------------------------- Imports System Imports System.IO Imports System.Security Imports System.Security.Cryptography Public Class frmMain Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents TabControl1 As System.Windows.Forms.TabControl Friend WithEvents TabPage1 As System.Windows.Forms.TabPage Friend WithEvents TabPage2 As System.Windows.Forms.TabPage Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents Label7 As System.Windows.Forms.Label Friend WithEvents Label8 As System.Windows.Forms.Label Friend WithEvents txtDestinationEncrypt As System.Windows.Forms.TextBox Friend WithEvents btnEncrypt As System.Windows.Forms.Button Friend WithEvents txtConPassEncrypt As System.Windows.Forms.TextBox Friend WithEvents txtPassEncrypt As System.Windows.Forms.TextBox Friend WithEvents txtFileToEncrypt As System.Windows.Forms.TextBox Friend WithEvents pbStatus As System.Windows.Forms.ProgressBar Friend WithEvents txtDestinationDecrypt As System.Windows.Forms.TextBox Friend WithEvents btnDecrypt As System.Windows.Forms.Button Friend WithEvents txtConPassDecrypt As System.Windows.Forms.TextBox Friend WithEven

              S Offline
              S Offline
              sarfarazaliqureshi
              wrote on last edited by
              #6

              Hi Dear, Thanks Dear for your help but dear Actually I am Looking for steganography which means I have to hide my text data behind An image and then Retrieve That Data from the image......the Example you gave me Was difficult To understand for me...........Please can you help me more......

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups