Dojo Interview Question

describe me algorithm you would use for secure code?