Cybersecurity Best Practices: Passwords, Encryption, and More
Password Security Best Practices
A password should be difficult for a computer program to guess.
- Make it long: The longer a password is, the less likely it is that a computer program would be able to guess it in a reasonable amount of time. You should try to create passwords that include ten or more characters.
- Make it complex: In addition to length, the complexity of a password also helps prevent automatic ‘password cracking’ software from guessing the right combination of characters.
- Make it practical:
Essential Computer Components and Programming Languages
Major Components of a Computer
All general-purpose computers require the following hardware components:
- Central Processing Unit (CPU): The ‘brain’ of the computer, the component that actually executes instructions.
- Memory: Enables a computer to store, at least temporarily, data and programs.
- Input Device: Usually a keyboard or mouse, used to read data and programs into the computer.
- Output Device: A display screen, printer, etc., that lets you see what the computer has accomplished.
- Mass Storage Device:
Parallax Propeller C Code Examples
Index Array Variables
This code demonstrates how to initialize and iterate through an integer array in C for the Parallax Propeller microcontroller.
int main() // Main function
{
int p[] = {1, 2, 3, 5, 7, 11}; // Initialize the array
for(int i = 0; i < 6; i++) // Count i from 0 to 5
{
print("p[%d] = %d\n", i, p[i]); // Display array element & value
pause(500); // 1/2 second pause
}
}
Scan to Integer
This example shows how to prompt a user for input, scan an integer value, and
Read MoreArcView Project Management: Components, File Types, and Data Handling
ArcView Project Components
- Layout: Preparing a map for inclusion in a report.
- View: Create and open a map.
- Chart: Create a statistical graph.
- Script: Create scripts in Avenue programming language.
- Dialogs: Define scale and personalize dialogues.
- Table: Create and/or open a database table.
ArcView Project File Types
The following file types can be opened by the system:
APR, SHP, FBD, DWF, DXF
Transferring ArcView Projects
To ensure an APR project opens correctly on another computer, keep all project files in
Read MoreTCP/IP Transport Layer: Protocols, Ports, and Security
TCP/IP Transport Layer
The Transport Layer, the third in the TCP/IP model, commonly uses TCP, but also UDP as an alternative.
UDP: Connectionless Communication
UDP provides simple, connectionless communication between applications. It is a direct, unreliable transmission method where messages can be lost or damaged. The unit of transmission is a UDP datagram. UDP is often used for real-time video and audio transmission, and not for DHCP.
TCP: Connection-Oriented and Reliable
TCP is connection-oriented,
Linux, UUE, Packet Switching, and AWK: A Practical Approach
Practice 1: Introduction to Linux
Linux Basic Commands
- pwd: Displays the current working directory.
- ls: Lists the contents of the current directory. If you pass the argument “-l”, it shows extended information.
- chmod: Changes the permissions of a file.
- Example:
chmod 777 file.cwould set the file permissions to rwxrwxrwx (owner, group, and others).
- Example:
- cd: Changes the directory.
- mkdir: Creates a directory.
- mv: Moves files.
- rm: Removes a directory.
- cat / more: Displays the contents of a file to standard output.
