EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Encrypt and Decrypt the code

Encrypt and Decrypt the code

|

Microcontroller › PIC › Encrypt and Decrypt the code

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 7 months ago by Ashutosh Bhatt.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 5, 2014 at 11:45 am #1981
    Orezpek
    Participant

    Hi all,

    Is there a way to protect or secure the programming code inside a PIC microcontroller by using some cryptographic algorithms.

    The code is written in C language.

    I’d be thankful to get your help!

    November 6, 2014 at 12:23 pm #12337
    Ashutosh Bhatt
    Participant

    you can only protect the code by disabling further reading of EEPROM

    you can lock EEPROM so that it can not be read. but it can be erased and reprogrammed

    November 9, 2014 at 12:49 pm #12349
    Orezpek
    Participant

    Thanks Phatt for your reply. you are right!

    This is one way. Have you tried to use AES or DES algorithms to de/encrypt the code from being altered during transmission.

    As you know, if we have any code and we want to protect the transmitted data from being modified we almost use strong cipher algorithms such as AES or DES. Do you think we can do that when we have sender and reciever microcontrollers (modules)? 

    Thanks again!

    November 10, 2014 at 5:01 pm #12356
    Ashutosh Bhatt
    Participant

    what u r talking now is completely different from wht u hv asked earlier

    encryption and decryption in transmission and reception is completely different field

    there are so many algorighthms. you can make ur own encryption-decryption method using your program code. or else you can implement any standard algorithm in C language. 

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Fun with AI and swordfish basic June 23, 2025
  • Simple LED Analog Clock Idea June 23, 2025
  • Microinverters and storeage batteries? June 23, 2025
  • PIC KIT 3 not able to program dsPIC June 23, 2025
  • Is AI making embedded software developers more productive? June 23, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise