Find Jobs
Hire Freelancers

Varlang program

$10-30 USD

Closed
Posted about 3 years ago

$10-30 USD

Paid on delivery
extend the interpreter: Security is a major concern for any system. Therefore, it is important to ensure that there is no information leak and that the memory deallocated from a program does not contain data which can be read by malicious programs. To avoid such a breach due to environment storage, we want to augment the Varlang language with alete(encoded let) expression, to encode a value before storing it in the environment, and a dec expression to decode it before using it. All values are stored by encrypting them with key, and read by decrypting them with [login to view URL] the let expression, each variable definition will contain the variable name, followed by two numberswhere the first number is the value, and the second number is the encrytion key. In the dec expression, the first number is the key for decription, followed by the variable name. Extend the Varlang programming language to support these two expressions. Implement an encryptedlet (lete for let encrypted), which is similar to let but it uses a key and a dec expression that is similarto VarExp. $(lete ((x 1 2)) x)3 $(lete ((x 1 a)) x)error $(lete ((x 1 20)) (dec 20 x))1 $(lete ((x 1 20)) (dec b x))error $(lete ((y 8 10) (x 1 2)) (+ x y))21 $(lete ((y 12 10) (x 1 2)) (+ (dec 10 y) (dec 2 x)))13
Project ID: 29394516

About the project

Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of MALAYSIA
Skudai, Malaysia
0.0
0
Member since Feb 24, 2021

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.