Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

how to convert a phrase into a 128 bits

What do you mean by word or phrase? Be more detailed about your question.
 
That sounds like a question from pc programmer.
From point view of hardware, every digital data is stored in the form of 0 or 1 in bit.
1 byte = 8 bit
1 word = 16 bit
1 long = 32 bit
1 phrase =..hm.. many 8 bits. haha...
 
Code:
main()
{
char Str[] = {"Hello!"};

     //you can now access the binairy values of the word "Hello!" through
     //trough the members of Str. So Str[0] is the value of H, Str[1] is value
     of e...
}

If it is this what you mean...
 

Latest threads

Back
Top