본문 바로가기

11월 26일 19:07 기준 · 10분마다 새 소식을 확인합니다

광고나 제휴로 순서를 바꾸지 않습니다 · pick 기준 보기 ›
소식 받기
코딩 · 개발

암호 생성기 웹앱 제작

암호화 기술, 실시간 강도 측정, 로컬 저장 기능이 완비된 비밀번호 생성 웹 애플리케이션을 개발합니다.

추천 툴
공통AI 분류
쓰인 기법
구체적 요구사항 명시 · 기능 목록화

프롬프트 원문

Create a comprehensive secure password generator using HTML5, CSS3 and JavaScript with cryptographically strong randomness. Build an intuitive interface with real-time password preview. Allow customization of password length with presets for different security levels. Include toggles for character types (uppercase, lowercase, numbers, symbols) with visual indicators. Implement an advanced strength meter showing entropy bits and estimated crack time. Add a one-click copy button with confirmation and automatic clipboard clearing. Create a password vault feature with encrypted localStorage storage. Generate multiple passwords simultaneously with batch options. Maintain a password history with generation timestamps. Calculate and display entropy using standard formulas. Offer memorable password generation options (phrase-based, pattern-based). Include export functionality with encryption options for password lists.
한국어 풀이 보기(참고용)
HTML5, CSS3, JavaScript를 사용하여 암호학적으로 강력한 무작위성을 갖춘 종합 보안 비밀번호 생성기를 제작해 주세요. 실시간 비밀번호 미리보기가 가능한 직관적인 인터페이스를 구성하세요. 보안 수준별 프리셋과 비밀번호 길이 맞춤 설정 기능을 포함하세요. 문자와 숫자, 기호 조합 토글 버튼을 추가하고 엔트로피 비트 및 예상 해킹 시간이 표시되는 보안 강도 측정기를 구현해 주세요. 원클릭 복사, 암호화된 localStorage 기반 보관함, 배치 생성, 내보내기 기능까지 포함해 완성해 주세요.
  • 활용Cursor나 Claude Code에 입력하면 한 번에 완성도 높은 싱글 페이지 웹앱 코드를 얻을 수 있습니다.
  • 활용프론트엔드 포트폴리오용 미니 토이 프로젝트로 활용하기 적합합니다.

출처 · prompts.chat · Secure Password Generator Tool — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.

텍스트 결과

Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).

실행 입력값 보기
Create a comprehensive secure password generator using HTML5, CSS3 and JavaScript with cryptographically strong randomness. Build an intuitive interface with real-time password preview. Allow customization of password length with presets for different security levels. Include toggles for character types (uppercase, lowercase, numbers, symbols) with visual indicators. Implement an advanced strength meter showing entropy bits and estimated crack time. Add a one-click copy button with confirmation and automatic clipboard clearing. Create a password vault feature with encrypted localStorage storage. Generate multiple passwords simultaneously with batch options. Maintain a password history with generation timestamps. Calculate and display entropy using standard formulas. Offer memorable password generation options (phrase-based, pattern-based). Include export functionality with encryption options for password lists.

요청하신 기능(암호학적 난수, 엔트로피 계산, 클립보드 복사 등)을 포함한 웹 비밀번호 생성기 핵심 예시 코드입니다.

<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>안전한 비밀번호 생성기</title>
<style>
  body { font-family: sans-serif; max-width: 500px; margin: 20px auto; padding: 20px; border: 1px solid #ddd; border-radius: 8px; }
  .field { margin-bottom: 10px; }
  #preview { font-size: 1.2rem; font-weight: bold; width: 70%; }
</style>
</head>
<body>
  <h2>비밀번호 생성기</h2>
  <div class="field">
    <input type="text" id="preview" readonly>
    <button onclick="copyToClipboard()">복사</button>
  </div>
  <div class="field">
    길이: <input type="number" id="length" value="16" min="8" max="64" onchange="generate()">
    <label><input type="checkbox" id="upper" checked onchange="generate()"> 대문자</label>
    <label><input type="checkbox" id="num" checked onchange="generate()"> 숫자</label>
    <label><input type="checkbox" id="sym" checked onchange="generate()"> 특수문자</label>
  </div>
  <div>엔트로피: <span id="entropy">0</span> bits (<span id="crackTime">-</span>)</div>

<script>
function getCryptoRandomInt(max) {
  const array = new Uint32Array(1);
  crypto.getRandomValues(array);
  return array[0] % max;
}

function generate() {
  let charset = 'abcdefghijklmnopqrstuvwxyz';
  if (upper.checked) charset += 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
  if (num.checked) charset += '0123456789';
  if (sym.checked) charset += '!@#$%^&*()_+-=[]{}';
  
  const len = parseInt(document.getElementById('length').value);
  let pwd = '';
  for (let i = 0; i < len; i++) {
    pwd += charset[getCryptoRandomInt(charset.length)];
  }
  document.getElementById('preview').value = pwd;
  
  // 엔트로피 계산 (E = L * log2(N))
  const entropy = Math.round(len * Math.log2(charset.length));
  document.getElementById('entropy').innerText = entropy;
  document.getElementById('crackTime').innerText = entropy > 60 ? '안전함' : '취약함';
}

function copyToClipboard() {
  const val = document.getElementById('preview').value;
  navigator.clipboard.writeText(val

mopick 개선안

원문을 더 잘 동작하게 고쳐 쓴 프롬프트

원문을 그대로 넣으면 AI 가 매번 다르게 답하거나 중요한 부분을 빠뜨릴 수 있습니다. 개선안은 원문의 뜻과 언어는 그대로 두고 역할 · 바꿔 넣을 입력 칸 · 결과 형식 · 지킬 조건을 보완해 다시 쓴 버전입니다. 원문과 같은 곳(ChatGPT · Claude 등)에 그대로 붙여 넣어 쓰면 됩니다.

AI 자체 평가 — 개선안을 쓴 AI 가 명확성 · 구체성 · 결과 형식 · 재사용성 기준(100점)으로 직접 매긴 점수 · 결과를 돌려 검증한 값은 아님

원문76
개선안94

원문의 문제 → 개선안에서 고친 점

  • AI 역할레슨 01 배우기 ›

    원문 · 없음AI 에게 맡길 역할이 정해져 있지 않아 답의 관점 · 수준이 그때그때 달라질 수 있었습니다.

    개선 · 역할을 정함Act as a Senior Frontend Developer and Security Engineer. Build a comprehensive secure pas

  • 입력 칸레슨 05 배우기 ›

    원문 · 없음바꿔 넣을 자리가 표시돼 있지 않아 쓸 때마다 원문을 직접 고쳐야 했습니다.

    개선 · 3개[X seconds] · [JSON/CSV] · [e.g., Modern Dark Mode UI]

  • 작업 순서레슨 07 배우기 ›

    원문 · 없음작업 순서가 정해져 있지 않아 AI 가 순서를 스스로 정해야 했습니다.

    개선 · 4단계

고친 이유 (개선안을 만든 AI 의 설명)

  1. 1역할(보안 전문 개발자) 지정 및 Web Crypto API 사용 명시.
  2. 2출력 형식과 단일 파일 코드 구성 요구사항을 명확히 정의.
  3. 3커스텀 요소를 [대괄호] 템플릿화하고 셀프 체크 단계 추가.

원문

Create a comprehensive secure password generator using HTML5, CSS3 and JavaScript with cryptographically strong randomness. Build an intuitive interface with real-time password preview. Allow customization of password length with presets for different security levels. Include toggles for character types (uppercase, lowercase, numbers, symbols) with visual indicators. Implement an advanced strength meter showing entropy bits and estimated crack time. Add a one-click copy button with confirmation and automatic clipboard clearing. Create a password vault feature with encrypted localStorage storage. Generate multiple passwords simultaneously with batch options. Maintain a password history with generation timestamps. Calculate and display entropy using standard formulas. Offer memorable password generation options (phrase-based, pattern-based). Include export functionality with encryption options for password lists.

개선안 · 색칠한 [칸]에 내 내용을 넣어 쓰세요

Act as a Senior Frontend Developer and Security Engineer. Build a comprehensive secure password generator web application using HTML5, CSS3, and vanilla JavaScript, leveraging `window.crypto.getRandomValues()` for cryptographically strong randomness.

Include the following core modules:
1. **Generator Core**: Real-time password preview, customizable length with security presets, character set toggles, and memorable phrase/pattern options.
2. **Security & Analytics**: Strength meter displaying entropy bits (`log2(N^L)`) and estimated crack time.
3. **UX & Utilities**: One-click copy with visual confirmation and auto-clipboard clear after [X seconds]. Batch generation and history log with timestamps.
4. **Storage & Export**: Password vault with encrypted `localStorage` storage using Web Crypto API, plus encrypted export in [JSON/CSV] format.

**Output Constraints**:
- Output production-ready code in a single HTML file with clean UI design ([e.g., Modern Dark Mode UI]).
- Self-Check: Verify cryptographically secure random number generation without third-party dependencies.

같은 분야 프롬프트 코딩 · 개발

더 보기 ›